summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@src.gnome.org>2021-08-04 10:39:38 +0200
committerDaiki Ueno <dueno@src.gnome.org>2021-08-04 10:39:38 +0200
commit8102cfacc77fd4f102af1da9a032dc72b93293fc (patch)
tree33dc1527220bd9faa78cd2df61383932c743a07a /.gitlab-ci.yml
parent77487fc4dd0f0bd98a651afe703a5724a32baf59 (diff)
downloadlibsecret-8102cfacc77fd4f102af1da9a032dc72b93293fc.tar.gz
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.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml4
1 files changed, 4 insertions, 0 deletions
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