Skip to content

Commit 40359ac

Browse files
Run libuiohook tests in GitHub Actions
1 parent 29886fd commit 40359ac

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/build.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ jobs:
4949
5050
cmake --install ${{github.workspace}}/build --config RelWithDebInfo
5151
52+
- name: Test
53+
shell: bash
54+
run: |
55+
${{github.workspace}}/build/uiohook_tests
56+
5257
- name: Upload
5358
uses: actions/upload-artifact@v5
5459
with:
@@ -133,6 +138,11 @@ jobs:
133138
134139
cmake --install ${{github.workspace}}/build --config RelWithDebInfo
135140
141+
- name: Test
142+
shell: bash
143+
run: |
144+
${{github.workspace}}/build/uiohook_tests
145+
136146
- name: Upload
137147
uses: actions/upload-artifact@v5
138148
with:
@@ -247,6 +257,11 @@ jobs:
247257
248258
cmake --install ${{github.workspace}}/build --config RelWithDebInfo
249259
260+
- name: Test
261+
shell: bash
262+
run: |
263+
${{github.workspace}}/build/uiohook_tests
264+
250265
- name: Upload
251266
uses: actions/upload-artifact@v5
252267
with:
@@ -300,6 +315,11 @@ jobs:
300315
301316
cmake --install ${{github.workspace}}/build --config RelWithDebInfo
302317
318+
- name: Test
319+
shell: bash
320+
run: |
321+
${{github.workspace}}/build/uiohook_tests
322+
303323
- name: Upload
304324
uses: actions/upload-artifact@v5
305325
with:
@@ -354,6 +374,11 @@ jobs:
354374
355375
cmake --install ${{github.workspace}}/build --config RelWithDebInfo
356376
377+
- name: Test
378+
shell: bash
379+
run: |
380+
${{github.workspace}}/build/uiohook_tests
381+
357382
- name: Upload
358383
uses: actions/upload-artifact@v5
359384
with:
@@ -394,6 +419,11 @@ jobs:
394419
395420
cmake --install ${{github.workspace}}\build --config RelWithDebInfo
396421
422+
- name: Test
423+
shell: bash
424+
run: |
425+
${{github.workspace}}\build\RelWithDebInfo\uiohook_tests
426+
397427
- name: Upload
398428
uses: actions/upload-artifact@v5
399429
with:
@@ -434,6 +464,11 @@ jobs:
434464
435465
cmake --install ${{github.workspace}}\build --config RelWithDebInfo
436466
467+
- name: Test
468+
shell: bash
469+
run: |
470+
${{github.workspace}}\build\RelWithDebInfo\uiohook_tests
471+
437472
- name: Upload
438473
uses: actions/upload-artifact@v5
439474
with:
@@ -474,6 +509,11 @@ jobs:
474509
475510
cmake --install ${{github.workspace}}\build --config RelWithDebInfo
476511
512+
- name: Test
513+
shell: bash
514+
run: |
515+
${{github.workspace}}\build\RelWithDebInfo\uiohook_tests
516+
477517
- name: Upload
478518
uses: actions/upload-artifact@v5
479519
with:

0 commit comments

Comments
 (0)