Update .gitlab-ci.yml file

do not install posix version of mingw-w64
This commit is contained in:
Alam Ed Arias 2023-10-12 05:31:31 +00:00
parent ea02f5c810
commit caf2b486c4

View file

@ -76,7 +76,7 @@ build-i686-w64-mingw32:
name: "$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-Win32" name: "$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-Win32"
script: script:
- *ccache - *ccache
- apt-get --option dir::cache::archives="$APT_CACHE_DIR" install --no-install-recommends --yes gcc-mingw-w64 - apt-get --option dir::cache::archives="$APT_CACHE_DIR" install --no-install-recommends --yes gcc-mingw-w64-win32
- apt-get --option dir::cache::archives="$APT_CACHE_DIR" autoclean - apt-get --option dir::cache::archives="$APT_CACHE_DIR" autoclean
- make --directory=src CCACHE=1 MINGW=1 PREFIX=i686-w64-mingw32 - make --directory=src CCACHE=1 MINGW=1 PREFIX=i686-w64-mingw32
@ -88,6 +88,6 @@ build-x86_64-w64-mingw32:
name: "$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-Win64" name: "$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-Win64"
script: script:
- *ccache - *ccache
- apt-get --option dir::cache::archives="$APT_CACHE_DIR" install --no-install-recommends --yes gcc-mingw-w64-x86-64 - apt-get --option dir::cache::archives="$APT_CACHE_DIR" install --no-install-recommends --yes gcc-mingw-w64-x86-64-win32
- apt-get --option dir::cache::archives="$APT_CACHE_DIR" autoclean - apt-get --option dir::cache::archives="$APT_CACHE_DIR" autoclean
- make --directory=src CCACHE=1 MINGW64=1 PREFIX=x86_64-w64-mingw32 - make --directory=src CCACHE=1 MINGW64=1 PREFIX=x86_64-w64-mingw32