Skip to content

Commit 1a0c360

Browse files
committed
github: Add tests to all the simulators
Add a command-line headless test for all the simulators to check that the test suite runs correctly on all platforms. Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
1 parent 196c438 commit 1a0c360

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ jobs:
4141
echo "${{ github.run_number }}" > .build_id
4242
make sim
4343
44+
- name: Run test suite
45+
run: ./db48x.app/Contents/MacOS/db48x -H -I -Tall
46+
4447
- name: Deploy Qt dependencies
4548
run: |
4649
macdeployqt db48x.app
@@ -101,6 +104,9 @@ jobs:
101104
echo "${{ github.run_number }}" > .build_id
102105
make sim
103106
107+
- name: Run test suite
108+
run: ./db48x -H -I -Tall
109+
104110
- name: Upload simulator artifact
105111
uses: actions/upload-artifact@v7
106112
with:
@@ -146,6 +152,10 @@ jobs:
146152
echo "${{ github.run_number }}" > .build_id
147153
mingw32-make debug-sim
148154
155+
- name: Run test suite
156+
shell: msys2 {0}
157+
run: ./db48x.exe -H -I -Tall
158+
149159
- name: Deploy Qt dependencies
150160
shell: msys2 {0}
151161
run: |
@@ -225,6 +235,9 @@ jobs:
225235
echo "${{ github.run_number }}" > .build_id
226236
make color-dm32-sim
227237
238+
- name: Run test suite
239+
run: ./db50x.app/Contents/MacOS/db50x -H -I -Tall
240+
228241
- name: Deploy Qt dependencies
229242
run: |
230243
macdeployqt db50x.app
@@ -285,6 +298,9 @@ jobs:
285298
echo "${{ github.run_number }}" > .build_id
286299
make color-dm32-sim
287300
301+
- name: Run test suite
302+
run: ./db50x -H -I -Tall
303+
288304
- name: Upload color simulator artifact
289305
uses: actions/upload-artifact@v7
290306
with:
@@ -330,6 +346,10 @@ jobs:
330346
echo "${{ github.run_number }}" > .build_id
331347
mingw32-make debug-color-dm32-sim
332348
349+
- name: Run test suite
350+
shell: msys2 {0}
351+
run: ./db50x.exe -H -I -Tall
352+
333353
- name: Deploy Qt dependencies
334354
shell: msys2 {0}
335355
run: |

0 commit comments

Comments
 (0)