Skip to content

Commit 8183762

Browse files
committed
Add examples to gh workflow.
1 parent 56470ad commit 8183762

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/unit-tests.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
- "macos-15"
2626
- "ubuntu-22.04"
2727
- "ubuntu-24.04"
28+
build_type:
29+
- "debug"
30+
- "release"
2831
runs-on: "${{matrix.os}}"
2932
steps:
3033
- uses: "actions/checkout@v4"
@@ -45,7 +48,7 @@ jobs:
4548
brew install coreutils
4649
brew install llvm@16
4750
48-
- name: "Run unit tests"
51+
- name: "Run unit tests and examples"
4952
env: >-
5053
${{
5154
'macos-14' == matrix.os
@@ -55,4 +58,7 @@ jobs:
5558
}')
5659
|| fromJson('{}')
5760
}}
58-
run: "task test-all"
61+
run: |-
62+
task test-all-${{matrix.build_type}}
63+
task build:examples-${{matrix.build_type}}
64+
./build/examples/${{matrix.build_type}}/linking-tests

0 commit comments

Comments
 (0)