mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
ci/test-msys2: use $MINGW_PACKAGE_PREFIX
This commit is contained in:
parent
fdaa8a334a
commit
345fbe0666
27
.gitlab-ci/test-msys2.sh
Executable file → Normal file
27
.gitlab-ci/test-msys2.sh
Executable file → Normal file
@ -1,29 +1,24 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
set -ex
|
||||
|
||||
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 \
|
||||
lcov \
|
||||
mingw-w64-$MSYS2_ARCH-ccache \
|
||||
mingw-w64-$MSYS2_ARCH-gettext \
|
||||
mingw-w64-$MSYS2_ARCH-libffi \
|
||||
mingw-w64-$MSYS2_ARCH-meson \
|
||||
mingw-w64-$MSYS2_ARCH-pcre2 \
|
||||
mingw-w64-$MSYS2_ARCH-python3 \
|
||||
mingw-w64-$MSYS2_ARCH-python-pip \
|
||||
mingw-w64-$MSYS2_ARCH-toolchain \
|
||||
mingw-w64-$MSYS2_ARCH-zlib \
|
||||
mingw-w64-$MSYS2_ARCH-libelf
|
||||
"${MINGW_PACKAGE_PREFIX}"-ccache \
|
||||
"${MINGW_PACKAGE_PREFIX}"-gettext \
|
||||
"${MINGW_PACKAGE_PREFIX}"-libffi \
|
||||
"${MINGW_PACKAGE_PREFIX}"-meson \
|
||||
"${MINGW_PACKAGE_PREFIX}"-pcre2 \
|
||||
"${MINGW_PACKAGE_PREFIX}"-python3 \
|
||||
"${MINGW_PACKAGE_PREFIX}"-python-pip \
|
||||
"${MINGW_PACKAGE_PREFIX}"-toolchain \
|
||||
"${MINGW_PACKAGE_PREFIX}"-zlib \
|
||||
"${MINGW_PACKAGE_PREFIX}"-libelf
|
||||
|
||||
mkdir -p _coverage
|
||||
mkdir -p _ccache
|
||||
|
Loading…
Reference in New Issue
Block a user