From 41cbce6620ecec14118ea6a63b9142ac7f291749 Mon Sep 17 00:00:00 2001 From: Moshe Kaplan Date: Thu, 25 Feb 2021 23:50:13 -0500 Subject: [PATCH] Github Actions: Add CI job for VS2019 --- .github/workflows/msbuild.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/msbuild.yml diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml new file mode 100644 index 00000000..4dc37990 --- /dev/null +++ b/.github/workflows/msbuild.yml @@ -0,0 +1,27 @@ +name: MSBuild + +on: [push] + +env: + SOLUTION_FILE_PATH: . + BUILD_CONFIGURATION: Release +jobs: + build_vs2019: + strategy: + matrix: + platform: [Win32, x64] + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + - name: Add MSBuild to PATH + uses: microsoft/setup-msbuild@v1 + - name: Build + working-directory: ${{env.GITHUB_WORKSPACE}} + run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /p:Platform=${{matrix.platform}} ${{env.SOLUTION_FILE_PATH}} + - name: Zip compiled files + run: 7z a -t"zip" -p"mimikatz" ${{matrix.platform}} ${{matrix.platform}} + - name: Upload artifacts + uses: actions/upload-artifact@v2 + with: + name: ${{matrix.platform}} + path: ${{matrix.platform}}.zip