|
1 | | -name: Continuous Integration |
2 | | - |
3 | | -on: |
4 | | - push: |
5 | | - paths-ignore: |
6 | | - - 'docs/**' |
7 | | - - '*.md' |
8 | | - - '*.txt' |
9 | | - - '*.PNG' |
10 | | - - 'makerelease.bat' |
11 | | - - 'testfiles/**' |
12 | | - - 'translation/**' |
13 | | - |
14 | | -jobs: |
15 | | - build: |
16 | | - runs-on: windows-2022 |
17 | | - strategy: |
18 | | - max-parallel: 4 |
19 | | - matrix: |
20 | | - build_configuration: [Release, Debug] |
21 | | - build_platform: [x64, x86] |
22 | | - |
23 | | - steps: |
24 | | - - name: Checkout repo |
25 | | - uses: actions/checkout@v6 |
26 | | - |
27 | | - - name: Add msbuild to PATH |
28 | | - uses: microsoft/setup-msbuild@v2.0.0 |
29 | | - |
30 | | - - name: MSBuild of solution |
31 | | - run: msbuild JsonToolsNppPlugin/JsonToolsNppPlugin.sln /p:configuration="${{ matrix.build_configuration }}" /p:platform="${{ matrix.build_platform }}" /m /verbosity:minimal |
32 | | - |
33 | | - - name: Archive artifacts for x64 |
34 | | - if: matrix.build_platform == 'x64' && matrix.build_configuration == 'Release' |
35 | | - uses: actions/upload-artifact@v5 |
36 | | - with: |
37 | | - name: plugin_dll_x64 |
38 | | - path: JsonToolsNppPlugin\bin\${{ matrix.build_configuration }}-x64\JsonTools.dll |
39 | | - |
40 | | - - name: Archive artifacts for x86 |
41 | | - if: matrix.build_platform == 'x86' && matrix.build_configuration == 'Release' |
42 | | - uses: actions/upload-artifact@v5 |
43 | | - with: |
44 | | - name: plugin_dll_x86 |
45 | | - path: JsonToolsNppPlugin\bin\${{ matrix.build_configuration }}\JsonTools.dll |
46 | | - |
| 1 | +name: Continuous Integration |
| 2 | + |
| 3 | +on: |
| 4 | + push: |
| 5 | + paths-ignore: |
| 6 | + - 'docs/**' |
| 7 | + - '*.md' |
| 8 | + - '*.txt' |
| 9 | + - '*.PNG' |
| 10 | + - 'makerelease.bat' |
| 11 | + - 'testfiles/**' |
| 12 | + - 'translation/**' |
| 13 | + |
| 14 | +jobs: |
| 15 | + build: |
| 16 | + runs-on: windows-2022 |
| 17 | + strategy: |
| 18 | + max-parallel: 4 |
| 19 | + matrix: |
| 20 | + build_configuration: [Release, Debug] |
| 21 | + build_platform: [x64, x86] |
| 22 | + |
| 23 | + steps: |
| 24 | + - name: Checkout repo |
| 25 | + uses: actions/checkout@v6 |
| 26 | + |
| 27 | + - name: Add msbuild to PATH |
| 28 | + uses: microsoft/setup-msbuild@v2.0.0 |
| 29 | + |
| 30 | + - name: MSBuild of solution |
| 31 | + run: msbuild JsonToolsNppPlugin/JsonToolsNppPlugin.sln /p:configuration="${{ matrix.build_configuration }}" /p:platform="${{ matrix.build_platform }}" /m /verbosity:minimal |
| 32 | + |
| 33 | + - name: Archive artifacts for x64 |
| 34 | + if: matrix.build_platform == 'x64' && matrix.build_configuration == 'Release' |
| 35 | + uses: actions/upload-artifact@v6 |
| 36 | + with: |
| 37 | + name: plugin_dll_x64 |
| 38 | + path: JsonToolsNppPlugin\bin\${{ matrix.build_configuration }}-x64\JsonTools.dll |
| 39 | + |
| 40 | + - name: Archive artifacts for x86 |
| 41 | + if: matrix.build_platform == 'x86' && matrix.build_configuration == 'Release' |
| 42 | + uses: actions/upload-artifact@v6 |
| 43 | + with: |
| 44 | + name: plugin_dll_x86 |
| 45 | + path: JsonToolsNppPlugin\bin\${{ matrix.build_configuration }}\JsonTools.dll |
| 46 | + |
0 commit comments