mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 04:38:55 +00:00
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.
This commit is contained in:
parent
77487fc4dd
commit
8102cfacc7
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user