Skip to content

Commit d99f1ea

Browse files
Add action for running C tests
1 parent 4e6e4db commit d99f1ea

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,20 @@ jobs:
6666
# Make sure we don't have ``vcztools`` in the CWD
6767
cd tests
6868
python -m vcztools --help
69+
70+
c_test:
71+
name: C tests
72+
runs-on: ubuntu-latest
73+
steps:
74+
- uses: actions/checkout@v4
75+
- name: Install dependencies
76+
run: |
77+
sudo apt install -y ninja-build libcunit1-dev valgrind meson
78+
- name: Build
79+
working-directory: ./lib
80+
run: |
81+
meson setup build
82+
- name: Tests
83+
working-directory: ./lib
84+
run: |
85+
ninja -C build test

0 commit comments

Comments
 (0)