[glibmm/kjellahl/testci] CI: Testing artifacts, take 3



commit b313815078e09c81d499eda58ed13782dd88cd60
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Thu Mar 17 11:14:43 2022 +0100

    CI: Testing artifacts, take 3

 .gitlab-ci.yml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 586dc2e1..10664b72 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -49,13 +49,14 @@ build_deps:
   script:
     # Build and cache dependencies that can't be installed with apt.
     # Build libsigc++3
+    - echo HOME= $HOME
     - if test ! -d libsigc; then
     - git clone --branch 3.2.0 --depth 1 https://github.com/libsigcplusplus/libsigcplusplus.git libsigc
     - cd libsigc
     - mkdir _build && cd _build
     - meson --prefix=/usr --libdir=lib -Dbuild-documentation=false -Dbuild-examples=false -Dbuildtype=release
     - meson compile
-    - meson configure --prefix=`pwd`/../../install
+    - meson configure --prefix=$HOME/install
     - cd ../..
     - fi
     - cd libsigc/_build
@@ -76,7 +77,7 @@ autotools_build:
   variables:
     DEPENDENCIES: $MESON_DEPS make autoconf
   script:
-    - cp -r install/* /usr
+    - echo HOME= $HOME
     - ./autogen.sh --enable-warnings=fatal --prefix=/usr
     - make
     - make check
@@ -90,7 +91,7 @@ release_gcc_10_build:
   variables:
     DEPENDENCIES: $MESON_DEPS g++-10
   script:
-    - cp -r install/* /usr
+    - echo HOME= $HOME
     - mkdir _build && cd _build
     # -Ddebug=false + -Doptimization=3 correspond to -Dbuildtype=release
     - CC=gcc-10 CXX=g++-10 meson --prefix=/usr --libdir=lib -Ddebug=false -Doptimization=3 -Dwarnings=fatal


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]