mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-24 13:21:20 +00:00
Update .gitlab-ci.yml file
build Mingw64 binary
This commit is contained in:
parent
735b8314e8
commit
95c81696a5
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue