[glibmm/kjellahl/testci] CI: Testing artifacts, take 4
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm/kjellahl/testci] CI: Testing artifacts, take 4
- Date: Thu, 17 Mar 2022 12:28:18 +0000 (UTC)
commit 65481d56d073b839e0f1477de97189a8aeef758a
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Thu Mar 17 13:27:19 2022 +0100
CI: Testing artifacts, take 4
.gitlab-ci.yml | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 10664b72..fe6a01ab 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -49,14 +49,15 @@ build_deps:
script:
# Build and cache dependencies that can't be installed with apt.
# Build libsigc++3
- - echo HOME= $HOME
+ - echo HOME= $HOME PWD= $PWD pwd= `pwd`
+ - START_DIR=`pwd`
- 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 --prefix=/usr --libdir=lib -Dvalidation=false -Dbuild-examples=false -Dbuildtype=release
- meson compile
- - meson configure --prefix=$HOME/install
+ - meson configure --prefix=$START_DIR/installdir
- cd ../..
- fi
- cd libsigc/_build
@@ -68,7 +69,7 @@ build_deps:
policy: pull-push
artifacts:
paths:
- - install/
+ - installdir/
expire_in: 1 day
autotools_build:
@@ -77,7 +78,8 @@ autotools_build:
variables:
DEPENDENCIES: $MESON_DEPS make autoconf
script:
- - echo HOME= $HOME
+ - echo HOME= $HOME PWD= $PWD pwd= `pwd`
+ - export PKG_CONFIG_PATH=`pwd`/installdir/lib/pkgconfig:$PKG_CONFIG_PATH
- ./autogen.sh --enable-warnings=fatal --prefix=/usr
- make
- make check
@@ -91,7 +93,8 @@ release_gcc_10_build:
variables:
DEPENDENCIES: $MESON_DEPS g++-10
script:
- - echo HOME= $HOME
+ - echo HOME= $HOME PWD= $PWD pwd= `pwd`
+ - export PKG_CONFIG_PATH=`pwd`/installdir/lib/pkgconfig:$PKG_CONFIG_PATH
- 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]