mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-28 15:11:55 +00:00
Update .gitlab-ci.yml file
apt cache do not need to be protected also, name artifact for binaries from build-native job
This commit is contained in:
parent
53eafa046c
commit
d7ea647f9b
1 changed files with 3 additions and 1 deletions
|
@ -39,9 +39,11 @@ build-native: # This job runs in the build stage, which runs first.
|
||||||
- key: apt-$CI_JOB_IMAGE
|
- key: apt-$CI_JOB_IMAGE
|
||||||
paths:
|
paths:
|
||||||
- apt-cache
|
- apt-cache
|
||||||
|
unprotect: true
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- "bin/*"
|
- "bin/*"
|
||||||
|
name: "Debian native"
|
||||||
before_script:
|
before_script:
|
||||||
- export PATH="/usr/lib/ccache:$PATH"
|
- export PATH="/usr/lib/ccache:$PATH"
|
||||||
- export CCACHE_BASEDIR="$PWD"
|
- export CCACHE_BASEDIR="$PWD"
|
||||||
|
@ -51,12 +53,12 @@ build-native: # This job runs in the build stage, which runs first.
|
||||||
- mkdir --parents --verbose $APT_CACHE_DIR/partial/
|
- mkdir --parents --verbose $APT_CACHE_DIR/partial/
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- 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 -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 autoclean
|
||||||
- ccache --zero-stats || true
|
- ccache --zero-stats || true
|
||||||
- ccache --show-stats || true
|
- ccache --show-stats || true
|
||||||
after_script:
|
after_script:
|
||||||
- export CCACHE_DIR="$PWD/ccache"
|
- export CCACHE_DIR="$PWD/ccache"
|
||||||
- ccache --show-stats
|
- ccache --show-stats
|
||||||
- apt-get autoclean
|
|
||||||
script:
|
script:
|
||||||
- make --directory=src
|
- make --directory=src
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue