From 8ddbb8e2eb84b95549f084e15bef22ee77d0e457 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Mon, 20 Feb 2023 14:49:11 +0100 Subject: ci: Fix tree getting wiped between stages It's stopping us from being able to run tests. --- .gitlab-ci.yml | 10 ++++------ 1 file 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 -- cgit v1.2.1