Commit e8798a4c authored by Christoph Reiter's avatar Christoph Reiter 🐍 Committed by Philip Withnall

ci: update meson

Rebuild the fedora docker image to get the newest meson release and
use pip to install the newest version for MSYS2.
parent a0c7f854
Pipeline #10328 failed with stage
in 7 minutes and 19 seconds
image: ebassi/gitlab-glib:latest
- build
......@@ -2,8 +2,10 @@
set -e
sudo docker build --build-arg HOST_USER_ID="$UID" --tag "gitlab-glib" \
sudo docker build --build-arg HOST_USER_ID="$UID" --tag "${TAG}" \
--file "Dockerfile" .
sudo docker run --rm \
--volume "$(pwd)/..:/home/user/app" --workdir "/home/user/app" \
--tty --interactive "gitlab-glib" bash
--tty --interactive "${TAG}" bash
......@@ -19,12 +19,15 @@ pacman --noconfirm -S --needed \
mingw-w64-$MSYS2_ARCH-meson \
mingw-w64-$MSYS2_ARCH-pcre \
mingw-w64-$MSYS2_ARCH-python3 \
mingw-w64-$MSYS2_ARCH-python3-pip \
mingw-w64-$MSYS2_ARCH-toolchain \
mkdir -p _ccache
export CCACHE_BASEDIR="$(pwd)"
export CCACHE_DIR="${CCACHE_BASEDIR}/_ccache"
pip3 install --upgrade --user meson
export PATH="$HOME/.local/bin:$PATH"
meson --werror --buildtype debug _build
cd _build
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment