File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI Build
2+
3+ on :
4+ push :
5+ branches : [ "master" ]
6+ pull_request :
7+ branches : [ "master" ]
8+
9+ jobs :
10+ build :
11+
12+ runs-on : windows-latest
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ build_configuration : [Release, Debug]
17+ build_platform : [Win32, x64, ARM64]
18+
19+ steps :
20+ - name : Checkout repo
21+ uses : actions/checkout@v4
22+ with :
23+ submodules : recursive
24+
25+ - name : Pre Build
26+ uses : microsoft/setup-msbuild@v1
27+
28+ - name : Build
29+ working-directory : NppJSONViewer
30+ run : msbuild NppJSONViewer.sln /m /p:configuration="${{ matrix.build_configuration }}" /p:platform="${{ matrix.build_platform }}" /p:PlatformToolset="v143"
31+
32+ - name : Archive binaries artifacts
33+ uses : actions/upload-artifact@v3
34+ with :
35+ name : ${{ matrix.build_platform}}_${{ matrix.build_configuration}}
36+ path : NppJSONViewer\Build\Bin\${{ matrix.build_configuration}}\${{ matrix.build_platform}}\NPPJSONViewer.dll
37+
38+ - name : Archive symbols artifacts
39+ uses : actions/upload-artifact@v3
40+ with :
41+ name : ${{ matrix.build_platform}}_${{ matrix.build_configuration}}
42+ path : NppJSONViewer\Build\Bin\${{ matrix.build_configuration}}\${{ matrix.build_platform}}\NPPJSONViewer.pdb
43+
44+
You can’t perform that action at this time.
0 commit comments