Skip to content

Commit ac0ebfc

Browse files
committed
Run unit test for both debug and release for x86 and x64
1 parent 6736af3 commit ac0ebfc

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.github/workflows/ci_build.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,11 @@ jobs:
4545
name: NppJSONViewer_${{ matrix.build_platform}}_${{ matrix.build_configuration}}_pdb
4646
path: src\Build\Bin\${{ matrix.build_configuration}}\${{ matrix.build_platform}}\NPPJSONViewer.pdb
4747

48-
# Step 6: Run unit tests for x86 | Release
49-
- name: Run unit tests x86 | Release
50-
if: matrix.build_platform == 'Win32' && matrix.build_configuration == 'Release'
48+
# Step 6: Run unit tests for x86 and x64
49+
- name: Run unit tests
50+
if: matrix.build_platform == 'Win32' || matrix.build_platform == 'x64'
5151
run: |
52-
cd src\Build\Bin\Release\Win32
53-
./UnitTest.exe
54-
55-
# Step 7: Run unit tests for x64 | Release
56-
- name: Run unit tests x64 | Release
57-
if: matrix.build_platform == 'x64' && matrix.build_configuration == 'Release'
58-
run: |
59-
cd src\Build\Bin\Release\x64
52+
cd src\Build\Bin\${{ matrix.build_configuration }}\${{ matrix.build_platform }}
6053
./UnitTest.exe
6154
6255
upload-full-artifacts:

0 commit comments

Comments
 (0)