mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-15 03:28:49 -07:00
add ccache to docker compilation (#3446)
* add ccache to docker image * test commit please ignore
This commit is contained in:
parent
57f15a9e98
commit
6b6c6c71ca
2 changed files with 7 additions and 2 deletions
|
|
@ -9,13 +9,17 @@ matrix:
|
|||
if: tag IS NOT present
|
||||
services: docker
|
||||
before_install: docker build -t img .ci/UbuntuBionic
|
||||
script: docker run --mount "type=bind,source=$(pwd),target=/src" -w="/src" img
|
||||
script: docker run --mount "type=bind,source=$(pwd),target=/src" -w="/src"
|
||||
--mount "type=bind,source=$HOME/.ccache,target=/.ccache" -e "CCACHE_DIR=/.ccache"
|
||||
img
|
||||
bash .ci/travis-compile.sh --server --debug
|
||||
- name: Ubuntu Bionic (Release)
|
||||
if: (branch = master AND NOT type = pull_request) OR tag IS present
|
||||
services: docker
|
||||
before_install: docker build -t img .ci/UbuntuBionic
|
||||
script: docker run --mount "type=bind,source=$(pwd),target=/src" -w="/src" img
|
||||
script: docker run --mount "type=bind,source=$(pwd),target=/src" -w="/src"
|
||||
--mount "type=bind,source=$HOME/.ccache,target=/.ccache" -e "CCACHE_DIR=/.ccache"
|
||||
img
|
||||
bash .ci/travis-compile.sh --server --package --release
|
||||
|
||||
#Ubuntu Xenial (Debug only)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue