File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -139,15 +139,20 @@ jobs:
139139
140140
141141 # ################################
142- # Upload artifacts
142+ # Run tests (Linux)
143143 # ################################
144- - name : Upload build artifacts
145- if : success()
146- uses : actions/upload-artifact@v4
147- with :
148- name : build-${{ matrix.os }}-${{ matrix.c_compiler }}
149- path : |
150- ${{ steps.strings.outputs.build-output-dir }}/ChainedDecos*
151- ${{ steps.strings.outputs.build-output-dir }}/ChainedDecosMapEditor*
152- ${{ steps.strings.outputs.build-output-dir }}/*.exe
153- retention-days : 7
144+ - name : Run unit tests (Linux)
145+ if : matrix.os == 'ubuntu-latest'
146+ shell : bash
147+ run : |
148+ chmod +x ${{ steps.strings.outputs.build-output-dir }}/unit_tests
149+ ${{ steps.strings.outputs.build-output-dir }}/unit_tests
150+
151+ # ################################
152+ # Run tests (Windows)
153+ # ################################
154+ - name : Run unit tests (Windows)
155+ if : matrix.os == 'windows-latest'
156+ shell : pwsh
157+ run : |
158+ & "${{ steps.strings.outputs.build-output-dir }}\unit_tests.exe"
You can’t perform that action at this time.
0 commit comments