From 3e211415c34a42db8a84f91e5984274ac7b3e589 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 18 Nov 2020 15:12:34 +0100 Subject: [PATCH] ci: test building with meson --- .gitlab-ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8e09f7db..36798057 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -150,6 +150,22 @@ test nightly: rules: - if: '$UPDATE_IMG == null || $UPDATE_IMG == "nightly"' +meson shared: + extends: .img-stable + script: + - meson build --default-library=shared + - ninja -C build + rules: + - if: '$UPDATE_IMG == null || $UPDATE_IMG == "stable"' + +meson static: + extends: .img-stable + script: + - meson build --default-library=static + - ninja -C build + rules: + - if: '$UPDATE_IMG == null || $UPDATE_IMG == "stable"' + rustfmt: extends: .img-stable stage: "lint"