-
Notifications
You must be signed in to change notification settings - Fork 150
44 lines (34 loc) · 1.24 KB
/
ci_build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: CI Build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
build_configuration: [Release, Debug]
build_platform: [Win32, x64, ARM64]
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
submodules: recursive
- name: Pre Build
uses: microsoft/setup-msbuild@v2
- name: Build
working-directory: NppJSONViewer
run: msbuild NppJSONViewer.sln /m /p:configuration="${{ matrix.build_configuration }}" /p:platform="${{ matrix.build_platform }}" /p:PlatformToolset="v143"
- name: Archive binaries artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.build_platform}}_${{ matrix.build_configuration}}
path: NppJSONViewer\Build\Bin\${{ matrix.build_configuration}}\${{ matrix.build_platform}}\NPPJSONViewer.dll
- name: Archive symbols artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.build_platform}}_${{ matrix.build_configuration}}_pdb
path: NppJSONViewer\Build\Bin\${{ matrix.build_configuration}}\${{ matrix.build_platform}}\NPPJSONViewer.pdb