summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@gnome.org>2020-10-07 13:38:05 -0500
committerMichael Catanzaro <mcatanzaro@gnome.org>2020-10-07 13:38:05 -0500
commitb84cf7816044fda0b686e32ffb830c737784b680 (patch)
tree5f51d9b07e963326737948faff6f5f521aafeae5
parent783f10ebc59ad76652f60629f43008a395760563 (diff)
downloadglib-networking-mcatanzaro/ci-v15.tar.gz
Build CI image with glib mastermcatanzaro/ci-v15
This will allow us to test the new PKCS#11 API.
-rw-r--r--.gitlab-ci.yml2
-rw-r--r--.gitlab-ci/Dockerfile9
-rwxr-xr-x.gitlab-ci/run-docker.sh2
3 files changed, 11 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a48908e..9b1f1ef 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,4 @@
-image: registry.gitlab.gnome.org/gnome/glib-networking/master:v14
+image: registry.gitlab.gnome.org/gnome/glib-networking/master:v15
fedora-x86_64:
stage: build
diff --git a/.gitlab-ci/Dockerfile b/.gitlab-ci/Dockerfile
index 8c14a2c..3a4e9de 100644
--- a/.gitlab-ci/Dockerfile
+++ b/.gitlab-ci/Dockerfile
@@ -9,6 +9,15 @@ RUN dnf update -y \
openssl-devel \
&& dnf clean all
+# Build our own glib
+RUN dnf install -y git \
+ && git clone --depth=1 https://gitlab.gnome.org/GNOME/glib.git \
+ && mkdir -p glib/_build \
+ && cd glib/_build \
+ && meson .. --prefix=/usr \
+ && meson compile \
+ && meson install
+
ARG HOST_USER_ID=5555
ENV HOST_USER_ID ${HOST_USER_ID}
RUN useradd -u $HOST_USER_ID -ms /bin/bash user
diff --git a/.gitlab-ci/run-docker.sh b/.gitlab-ci/run-docker.sh
index 117f344..7a7318b 100755
--- a/.gitlab-ci/run-docker.sh
+++ b/.gitlab-ci/run-docker.sh
@@ -2,7 +2,7 @@
set -e
-TAG="registry.gitlab.gnome.org/gnome/glib-networking/master:v14"
+TAG="registry.gitlab.gnome.org/gnome/glib-networking/master:v15"
cd "$(dirname "$0")"