[glibmm/kjellahl/testci] CI: Testing artifacts, take 6
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm/kjellahl/testci] CI: Testing artifacts, take 6
- Date: Fri, 18 Mar 2022 09:37:36 +0000 (UTC)
commit 03d6c92a6eb8aa52536d64ad5af5978be30bd2f9
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Fri Mar 18 10:36:43 2022 +0100
CI: Testing artifacts, take 6
.gitlab-ci.yml | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4dd2fddd..002bce7a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -48,20 +48,17 @@ build_deps:
DEPENDENCIES: $MESON_DEPS
script:
# Build and cache dependencies that can't be installed with apt.
+ - export DESTDIR=`pwd`/installdir
# Build libsigc++3
- - 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 -Dvalidation=false -Dbuild-examples=false -Dbuildtype=release
- meson compile
- - meson configure --prefix=$START_DIR/installdir
- cd ../..
- fi
- - cd libsigc/_build
- - meson install
+ - ninja -C libsigc/_build install
cache:
key: build-deps
paths:
@@ -78,8 +75,7 @@ autotools_build:
variables:
DEPENDENCIES: $MESON_DEPS make autoconf
script:
- - echo HOME= $HOME PWD= $PWD pwd= `pwd`
- - export PKG_CONFIG_PATH=`pwd`/installdir/lib/pkgconfig:$PKG_CONFIG_PATH
+ - cp -r installdir/usr /
- ./autogen.sh --enable-warnings=fatal --prefix=/usr
- make
- make check
@@ -93,15 +89,13 @@ autotools_build:
- tests/glibmm_value/test.trs
expire_in: 1 day
-
release_gcc_10_build:
extends: .build_default
stage: build
variables:
DEPENDENCIES: $MESON_DEPS g++-10
script:
- - echo HOME= $HOME PWD= $PWD pwd= `pwd`
- - export PKG_CONFIG_PATH=`pwd`/installdir/lib/pkgconfig:$PKG_CONFIG_PATH
+ - cp -r installdir/usr /
- 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]