diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2018-12-08 21:00:58 +0100 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2018-12-08 22:14:05 +0100 |
commit | 08671f431b66cefe8dcb5718e3828887e98e7636 (patch) | |
tree | 62892e527e84b472d27fc180de486e277c6d0349 /.gitlab-ci | |
parent | 9aefac0379809d43d9450570cddebd222f7c5625 (diff) | |
download | gobject-introspection-08671f431b66cefe8dcb5718e3828887e98e7636.tar.gz |
ci: Add a msys2 autotools job
Getting rid of autotools wont be easy, so make sure we run all tests on Windows,
not just the ones ported to meson.
Diffstat (limited to '.gitlab-ci')
-rw-r--r-- | .gitlab-ci/test-msys2-autotools.sh | 27 | ||||
-rw-r--r-- | .gitlab-ci/test-msys2-meson.sh (renamed from .gitlab-ci/test-msys2.sh) | 0 |
2 files changed, 27 insertions, 0 deletions
diff --git a/.gitlab-ci/test-msys2-autotools.sh b/.gitlab-ci/test-msys2-autotools.sh new file mode 100644 index 00000000..1029864b --- /dev/null +++ b/.gitlab-ci/test-msys2-autotools.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +set -e + +export PATH="/c/msys64/$MSYSTEM/bin:$PATH" +if [[ "$MSYSTEM" == "MINGW32" ]]; then + export MSYS2_ARCH="i686" +else + export MSYS2_ARCH="x86_64" +fi + +pacman --noconfirm -Suy + +pacman --noconfirm -S --needed \ + base-devel \ + autoconf-archive \ + mingw-w64-$MSYS2_ARCH-toolchain \ + mingw-w64-$MSYS2_ARCH-python3 \ + mingw-w64-$MSYS2_ARCH-libffi \ + mingw-w64-$MSYS2_ARCH-cairo \ + mingw-w64-$MSYS2_ARCH-glib2 \ + mingw-w64-$MSYS2_ARCH-gtk-doc + +./autogen.sh + +make -j6 +make -j6 check diff --git a/.gitlab-ci/test-msys2.sh b/.gitlab-ci/test-msys2-meson.sh index 9c5abe3e..9c5abe3e 100644 --- a/.gitlab-ci/test-msys2.sh +++ b/.gitlab-ci/test-msys2-meson.sh |