[gobject-introspection/ebassi/glib-update] ci: Update MSYS2 test
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection/ebassi/glib-update] ci: Update MSYS2 test
- Date: Wed, 13 Jul 2022 13:43:53 +0000 (UTC)
commit 6373dbb204ed07761160fb20ec85b8f254947d67
Author: Emmanuele Bassi <ebassi gnome org>
Date: Wed Jul 13 14:42:54 2022 +0100
ci: Update MSYS2 test
- Install pcre2, as it's a new GLib dependency.
- Do not use CFLAGS to inject -Werror
- Use idiomatic Meson subcommands
.gitlab-ci/test-msys2-meson.sh | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/.gitlab-ci/test-msys2-meson.sh b/.gitlab-ci/test-msys2-meson.sh
index 6ee79488..6bf9ea26 100644
--- a/.gitlab-ci/test-msys2-meson.sh
+++ b/.gitlab-ci/test-msys2-meson.sh
@@ -23,7 +23,7 @@ pacman --noconfirm -S --needed \
mingw-w64-$MSYS2_ARCH-libffi \
mingw-w64-$MSYS2_ARCH-pkg-config \
mingw-w64-$MSYS2_ARCH-cairo \
- mingw-w64-$MSYS2_ARCH-pcre \
+ mingw-w64-$MSYS2_ARCH-pcre2 \
mingw-w64-$MSYS2_ARCH-zlib \
mingw-w64-$MSYS2_ARCH-gettext
@@ -33,13 +33,9 @@ export CCACHE_DIR="${CCACHE_BASEDIR}/_ccache"
pip3 install --upgrade --user meson==0.60 flake8 mypy==0.931 types-Markdown
export PATH="$HOME/.local/bin:$PATH"
-export CFLAGS="-Werror"
-meson -Dcairo=enabled -Ddoctool=enabled --buildtype debug _build
-cd _build
-ninja
-
-meson test --print-errorlogs --suite=gobject-introspection --no-suite=glib
-cd ..
+meson setup -Dwerror=true -Dcairo=enabled -Ddoctool=enabled --buildtype debug _build
+meson compile -C _build
+meson test --print-errorlogs --suite=gobject-introspection --no-suite=glib -C _build
python3 -m flake8 --count
python3 -m mypy _build
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]