File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [master]
6+ pull_request :
7+ branches : [master]
8+
9+ jobs :
10+ build :
11+ runs-on : windows-latest
12+ strategy :
13+ matrix :
14+ architecture : [x86, x64, arm64]
15+ platform : [win]
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v2
19+
20+ - name : Install .NET SDK
21+ uses : actions/setup-dotnet@v1
22+ with :
23+ dotnet-version : " 5.0.x"
24+
25+ - name : Add MSBuild to PATH
26+ uses : microsoft/setup-msbuild@v1.0.2
27+
28+ - name : Build utilities
29+ shell : pwsh
30+ run : |
31+ msbuild /m /t:restore,driverupdater:publish /p:Platform=${{ matrix.architecture }} /p:RuntimeIdentifier=${{ matrix.platform }}-${{ matrix.architecture }} /p:PublishDir=${{ github.workspace }}/artifacts/${{ matrix.platform }}-${{ matrix.architecture }} /p:PublishSingleFile=true /p:PublishTrimmed=true "Windows Build Identifier.sln"
32+
33+ - name : Upload artifact
34+ uses : actions/upload-artifact@v2
35+ with :
36+ name : ${{ matrix.platform }}-${{ matrix.architecture }}
37+ path : ${{ github.workspace }}/artifacts/${{ matrix.platform }}-${{ matrix.architecture }}
You can’t perform that action at this time.
0 commit comments