mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-25 11:50:50 +00:00
CircleCI: cache APT and ccache
This commit is contained in:
parent
ade354c27d
commit
aaaab40f6c
1 changed files with 19 additions and 16 deletions
|
@ -15,23 +15,26 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: Add i386 arch
|
name: Add i386 arch
|
||||||
command: dpkg --add-architecture i386
|
command: dpkg --add-architecture i386
|
||||||
#- restore_cache:
|
|
||||||
# keys:
|
|
||||||
# - v1-SRB2-APT
|
|
||||||
- run:
|
- run:
|
||||||
name: Update APT listing
|
name: Update APT listing
|
||||||
command: apt-get -qq update
|
command: apt-get -qq update
|
||||||
|
- run:
|
||||||
|
name: Support S3 upload
|
||||||
|
command: apt-get -qq -y install ca-certificates
|
||||||
|
- restore_cache:
|
||||||
|
keys:
|
||||||
|
- v1-SRB2-APT
|
||||||
- run:
|
- run:
|
||||||
name: Install SDK
|
name: Install SDK
|
||||||
command: apt-get -qq -y install git build-essential nasm libpng12-dev:i386 libsdl2-mixer-dev:i386 libgme-dev:i386 gettext ccache wget gcc-multilib ca-certificates
|
command: apt-get -qq -y install git build-essential nasm libpng12-dev:i386 libsdl2-mixer-dev:i386 libgme-dev:i386 gettext ccache wget gcc-multilib
|
||||||
#- save_cache:
|
- save_cache:
|
||||||
# key: v1-SRB2-APT
|
key: v1-SRB2-APT
|
||||||
# paths:
|
paths:
|
||||||
# - /var/cache/apt/
|
- /var/cache/apt/archives
|
||||||
- checkout
|
- checkout
|
||||||
#- restore_cache:
|
- restore_cache:
|
||||||
# keys:
|
keys:
|
||||||
# - v1-SRB2-{{ .Branch }}
|
- v1-SRB2-{{ .Branch }}
|
||||||
- run:
|
- run:
|
||||||
name: Setup cache
|
name: Setup cache
|
||||||
command: mkdir -p /root/srb2_cache
|
command: mkdir -p /root/srb2_cache
|
||||||
|
@ -44,11 +47,11 @@ jobs:
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: /root/SRB2/bin/Linux/Release/
|
path: /root/SRB2/bin/Linux/Release/
|
||||||
destination: bin
|
destination: bin
|
||||||
#- save_cache:
|
- save_cache:
|
||||||
# key: v1-SRB2-{{ .Branch }}
|
key: v1-SRB2-{{ .Branch }}
|
||||||
# paths:
|
paths:
|
||||||
# - /root/.ccache
|
- /root/.ccache
|
||||||
# - /root/srb2_cache
|
- /root/srb2_cache
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue