Skip to content

Commit 7fb6b31

Browse files
ci: added build and test steps to static and shared library
1 parent eba92e9 commit 7fb6b31

1 file changed

Lines changed: 16 additions & 4 deletions

File tree

.github/workflows/CI.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,26 @@ jobs:
1717
sudo pip3 install setuptools
1818
sudo pip3 install meson
1919
20-
- name: Meson Build
20+
- name: Meson Build [static]
2121
run: |
22-
meson build -Dc_std=c99
22+
meson build -Dc_std=c99 -Dlibrary_type=static
2323
24-
- name: Compile
24+
- name: Compile [static]
2525
run: |
2626
ninja -C build
2727
28-
- name: Run Tests
28+
- name: Run Tests [static]
29+
run: |
30+
ninja test -C build
31+
32+
- name: Meson Build [shared]
33+
run: |
34+
meson build -Dc_std=c99 -Dlibrary_type=shared
35+
36+
- name: Compile [shared]
37+
run: |
38+
ninja -C build
39+
40+
- name: Run Tests [shared]
2941
run: |
3042
ninja test -C build

0 commit comments

Comments
 (0)