Update .gitlab-ci.yml file

build Mingw64 binary
This commit is contained in:
Alam Ed Arias 2023-10-12 03:00:34 +00:00
parent 735b8314e8
commit 95c81696a5

View file

@ -48,7 +48,7 @@ build-native: # This job runs in the build stage, which runs first.
- apt-get update
- export APT_CACHE_DIR=`pwd`/apt-cache
- mkdir --parents --verbose $APT_CACHE_DIR/partial/
- apt-get --option dir::cache::archives="$APT_CACHE_DIR" install --no-install-recommends --yes build-essential libsdl2-mixer-dev libpng-dev libcurl4-openssl-dev libgme-dev git libopenmpt-dev gettext ccache
- apt-get --option dir::cache::archives="$APT_CACHE_DIR" install --no-install-recommends --yes build-essential libsdl2-mixer-dev libpng-dev libcurl4-openssl-dev libgme-dev git libopenmpt-dev gettext ccache mingw-w64
- apt-get --option dir::cache::archives="$APT_CACHE_DIR" autoclean
- export CCACHE_BASEDIR="$PWD"
- export CCACHE_DIR="$PWD/ccache"
@ -59,11 +59,10 @@ build-native: # This job runs in the build stage, which runs first.
- export CCACHE_DIR="$PWD/ccache"
- ccache --show-stats
script:
- export CC="ccache gcc"
- export CCACHE_BASEDIR="$PWD"
- export CCACHE_DIR="$PWD/ccache"
- export CCACHE_COMPILERCHECK=content
- make --directory=src
- make --directory=src CCACHE=1
- make --directory=src CCACHE=1 MINGW64=1 PREFIX=x86_64-w64