mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Put the apt-cache in build/
Like with ccache, we want to make sure the git checkout is considered clean during build.
This commit is contained in:
parent
8814bb5386
commit
ae4e95777a
3 changed files with 4 additions and 4 deletions
|
|
@ -14,7 +14,7 @@ osxcross x86_64:
|
||||||
|
|
||||||
- key: apt-$CI_JOB_IMAGE
|
- key: apt-$CI_JOB_IMAGE
|
||||||
paths:
|
paths:
|
||||||
- apt-cache
|
- build/apt-cache
|
||||||
unprotect: true
|
unprotect: true
|
||||||
|
|
||||||
- key: vcpkg-root
|
- key: vcpkg-root
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ Windows x86:
|
||||||
|
|
||||||
- key: apt-$CI_JOB_IMAGE
|
- key: apt-$CI_JOB_IMAGE
|
||||||
paths:
|
paths:
|
||||||
- apt-cache
|
- build/apt-cache
|
||||||
unprotect: true
|
unprotect: true
|
||||||
|
|
||||||
- key: vcpkg-root
|
- key: vcpkg-root
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
- key: apt-$CI_JOB_IMAGE
|
- key: apt-$CI_JOB_IMAGE
|
||||||
paths:
|
paths:
|
||||||
- apt-cache
|
- build/apt-cache
|
||||||
unprotect: true
|
unprotect: true
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
|
|
@ -37,7 +37,7 @@
|
||||||
- - |
|
- - |
|
||||||
# apt_conf
|
# apt_conf
|
||||||
echo -e "\e[0Ksection_start:`date +%s`:apt_conf[collapsed=true]\r\e[0KSetting up APT conf"
|
echo -e "\e[0Ksection_start:`date +%s`:apt_conf[collapsed=true]\r\e[0KSetting up APT conf"
|
||||||
- export APT_CACHE_DIR=`pwd`/apt-cache
|
- export APT_CACHE_DIR=$CI_PROJECT_DIR/build/apt-cache
|
||||||
- mkdir --parents --verbose $APT_CACHE_DIR/partial/
|
- mkdir --parents --verbose $APT_CACHE_DIR/partial/
|
||||||
- touch /etc/apt/apt.conf.d/99build
|
- touch /etc/apt/apt.conf.d/99build
|
||||||
- |
|
- |
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue