mirror of
https://github.com/visualboyadvance-m/visualboyadvance-m
synced 2025-10-05 23:52:49 +02:00
travis: move cache key for ccache into jobs
Move the `cache: directories: "$HOME/.ccache"` key from the top of the file into each specific job, otherwise it does not seem to have an effect as a global option.
This commit is contained in:
16
.travis.yml
16
.travis.yml
@@ -1,10 +1,6 @@
|
||||
---
|
||||
sudo: required
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- "$HOME/.ccache"
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
include:
|
||||
@@ -20,6 +16,9 @@ matrix:
|
||||
- cmake ..
|
||||
- make -j2
|
||||
# - ./visualboyadvance-m --help
|
||||
cache:
|
||||
directories:
|
||||
- "$HOME/.ccache"
|
||||
- env: BUILD_ENV=mingw-w64
|
||||
language: cpp
|
||||
os: linux
|
||||
@@ -31,6 +30,9 @@ matrix:
|
||||
- cd build
|
||||
- /usr/lib/mxe/usr/bin/x86_64-w64-mingw32.static-cmake ..
|
||||
- make -j2
|
||||
cache:
|
||||
directories:
|
||||
- "$HOME/.ccache"
|
||||
- env: BUILD_ENV=mingw-w32
|
||||
language: cpp
|
||||
os: linux
|
||||
@@ -42,6 +44,9 @@ matrix:
|
||||
- cd build
|
||||
- /usr/lib/mxe/usr/bin/i686-w64-mingw32.static-cmake ..
|
||||
- make -j2
|
||||
cache:
|
||||
directories:
|
||||
- "$HOME/.ccache"
|
||||
- env: BUILD_ENV=mac
|
||||
language: cpp
|
||||
os: osx
|
||||
@@ -53,3 +58,6 @@ matrix:
|
||||
- cmake ..
|
||||
- make -j2
|
||||
# - ./visualboyadvance-m.app/Contents/MacOS/visualboyadvance-m --help
|
||||
cache:
|
||||
directories:
|
||||
- "$HOME/.ccache"
|
||||
|
Reference in New Issue
Block a user