From 8102cfacc77fd4f102af1da9a032dc72b93293fc Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Wed, 4 Aug 2021 10:39:38 +0200 Subject: [PATCH] ci: Make sure the necessary artifacts to be generated before testing This fixes the CI failures that are caused by missing GIR typelibs and executables. --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 888fef7..d1a68d4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,6 +25,7 @@ fedora:Werror: - 'tpm2-abrmd --logger=stdout --tcti=swtpm: --session --allow-root --flush-all &' - 'export TCTI=tabrmd:bus_type=session' - meson _build -Dwerror=true -Dc_args=-Wno-error=deprecated-declarations + - meson compile -C _build - meson test -C _build artifacts: when: on_failure @@ -42,6 +43,7 @@ fedora:asan: - dbus-uuidgen --ensure script: - meson _build -Dsanitize=address + - meson compile -C _build - eval `dbus-launch --sh-syntax` - meson test -C _build artifacts: @@ -60,6 +62,7 @@ fedora:ubsan: - dbus-uuidgen --ensure script: - meson _build -Dsanitize=undefined + - meson compile -C _build - eval `dbus-launch --sh-syntax` - meson test -C _build artifacts: @@ -96,6 +99,7 @@ fedora:coverage: - dbus-uuidgen --ensure script: - meson _build -Db_coverage=true + - meson compile -C _build - eval `dbus-launch --sh-syntax` - meson test -C _build - ninja coverage-html -C _build