Merge branch 'wip/dueno/ci-fixes' into 'master'

ci: Make sure the necessary artifacts to be generated before testing

See merge request GNOME/libsecret!89
This commit is contained in:
Daiki Ueno 2021-08-04 08:49:22 +00:00
commit 10e5e7abe3

View File

@ -25,6 +25,7 @@ fedora:Werror:
- 'tpm2-abrmd --logger=stdout --tcti=swtpm: --session --allow-root --flush-all &' - 'tpm2-abrmd --logger=stdout --tcti=swtpm: --session --allow-root --flush-all &'
- 'export TCTI=tabrmd:bus_type=session' - 'export TCTI=tabrmd:bus_type=session'
- meson _build -Dwerror=true -Dc_args=-Wno-error=deprecated-declarations - meson _build -Dwerror=true -Dc_args=-Wno-error=deprecated-declarations
- meson compile -C _build
- meson test -C _build - meson test -C _build
artifacts: artifacts:
when: on_failure when: on_failure
@ -42,6 +43,7 @@ fedora:asan:
- dbus-uuidgen --ensure - dbus-uuidgen --ensure
script: script:
- meson _build -Dsanitize=address - meson _build -Dsanitize=address
- meson compile -C _build
- eval `dbus-launch --sh-syntax` - eval `dbus-launch --sh-syntax`
- meson test -C _build - meson test -C _build
artifacts: artifacts:
@ -60,6 +62,7 @@ fedora:ubsan:
- dbus-uuidgen --ensure - dbus-uuidgen --ensure
script: script:
- meson _build -Dsanitize=undefined - meson _build -Dsanitize=undefined
- meson compile -C _build
- eval `dbus-launch --sh-syntax` - eval `dbus-launch --sh-syntax`
- meson test -C _build - meson test -C _build
artifacts: artifacts:
@ -96,6 +99,7 @@ fedora:coverage:
- dbus-uuidgen --ensure - dbus-uuidgen --ensure
script: script:
- meson _build -Db_coverage=true - meson _build -Db_coverage=true
- meson compile -C _build
- eval `dbus-launch --sh-syntax` - eval `dbus-launch --sh-syntax`
- meson test -C _build - meson test -C _build
- ninja coverage-html -C _build - ninja coverage-html -C _build