summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2023-02-20 14:49:11 +0100
committerBastien Nocera <hadess@hadess.net>2023-02-20 15:09:05 +0100
commit8ddbb8e2eb84b95549f084e15bef22ee77d0e457 (patch)
tree5dddbf5dee732c03cedafdb81c3682c4fe921847
parent7f3a31447faf2006120abfad4802dbde7cd11e8b (diff)
downloadupower-8ddbb8e2eb84b95549f084e15bef22ee77d0e457.tar.gz
ci: Fix tree getting wiped between stages
It's stopping us from being able to run tests.
-rw-r--r--.gitlab-ci.yml10
1 files changed, 4 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e56b466..cc136c9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -53,12 +53,6 @@ test_nut_hwdb:
build:
stage: build
- before_script:
- - git clone https://github.com/zatrazz/glibc-tools.git
- - cd glibc-tools
- - ./configure
- - make
- - cd ..
script:
- meson _build -Dintrospection=enabled -Dman=true -Dgtk-doc=true -Didevice=enabled
- ninja -C _build
@@ -103,10 +97,14 @@ test:
dependencies:
- build
before_script:
+ - git clone https://github.com/zatrazz/glibc-tools.git
- cd glibc-tools
+ - ./configure
- make install
- cd ..
script:
+ - meson _build -Dintrospection=enabled -Dman=true -Dgtk-doc=true -Didevice=enabled
+ - ninja -C _build
- catchsegv meson test -C _build --print-errorlogs --no-stdsplit
- .ci/fail_skipped_tests.py _build/meson-logs/testlog.junit.xml