chore: Enable ccache for travis/Linux

This commit is contained in:
Sirius Bakke 2020-03-23 22:24:02 +01:00
parent 28e9aa5a35
commit 6126403d01
4 changed files with 12 additions and 4 deletions

View File

@ -5,8 +5,9 @@ services:
- docker
cache:
directories:
- $HOME/Library/Caches/Homebrew
- ccache: true
- directories:
- $HOME/Library/Caches/Homebrew
matrix:
include:

View File

@ -5,6 +5,11 @@ set(CMAKE_OSX_DEPLOYMENT_TARGET "10.9"
CACHE STRING "Minimum macOS deployment version"
)
find_program(CCACHE_PROGRAM ccache)
if(CCACHE_PROGRAM)
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}")
endif()
project(firewallbuilder LANGUAGES CXX C)
### Version variables and include file

View File

@ -13,7 +13,8 @@ RUN apt-get update && apt-get install -y \
nsis \
cmake \
git \
qt5-default
qt5-default \
ccache
WORKDIR /
CMD ["bash"]

View File

@ -13,7 +13,8 @@ RUN apt-get update && apt-get install -y \
nsis \
cmake \
git \
qt5-default
qt5-default \
ccache
WORKDIR /
CMD ["bash"]