mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-22 04:21:23 +00:00
Update .gitlab-ci.yml file
use DO mirror?
This commit is contained in:
parent
dbd40ef422
commit
01fc7810e2
1 changed files with 5 additions and 3 deletions
|
@ -45,11 +45,13 @@ build-native: # This job runs in the build stage, which runs first.
|
||||||
- "bin/*"
|
- "bin/*"
|
||||||
name: "Debian native"
|
name: "Debian native"
|
||||||
before_script:
|
before_script:
|
||||||
|
- sed --expression="s/deb.debian.org/mirrors.digitalocean.com/g" /etc/apt/sources.list > /etc/apt/sources.list.d/debian.list
|
||||||
|
- rm --force /etc/apt/sources.list
|
||||||
|
- apt-get update
|
||||||
- export APT_CACHE_DIR=`pwd`/apt-cache
|
- export APT_CACHE_DIR=`pwd`/apt-cache
|
||||||
- mkdir --parents --verbose $APT_CACHE_DIR/partial/
|
- mkdir --parents --verbose $APT_CACHE_DIR/partial/
|
||||||
- apt-get update
|
- 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 -o 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" autoclean
|
||||||
- apt-get -o dir::cache::archives="$APT_CACHE_DIR" autoclean
|
|
||||||
- export CCACHE_BASEDIR="$PWD"
|
- export CCACHE_BASEDIR="$PWD"
|
||||||
- export CCACHE_DIR="$PWD/ccache"
|
- export CCACHE_DIR="$PWD/ccache"
|
||||||
- ccache --zero-stats || true
|
- ccache --zero-stats || true
|
||||||
|
|
Loading…
Reference in a new issue