maint: Run syntax-check in CICD.
Signed-off-by: Simon Josefsson <simon@josefsson.org>
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1ea42df..b422b8b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -44,7 +44,7 @@
- make -j$(nproc)
- make -j$(nproc) check
- make abi-check
- - make distcheck
+ - make syntax-check dist
artifacts:
expire_in: 2 weeks
when: on_success
@@ -63,7 +63,7 @@
- make -j$(nproc)
- make -j$(nproc) check
- make abi-check
- - make distcheck
+ - make syntax-check distcheck
artifacts:
expire_in: 2 weeks
when: on_success
@@ -81,7 +81,7 @@
- ./configure --enable-gcc-warnings
- make -j$(nproc)
- make -j$(nproc) check
- - make dist
+ - make syntax-check dist
artifacts:
expire_in: 2 weeks
when: on_success