Enable ninja and ccache on travis (#413)
* Use ninja, the fast build system Make is known to be rather slow, but it's possible to generate other build system files with CMake, so use a faster one. * Use ccache on Travis * Dummy commit to test ccache
This commit is contained in:
parent
ff7947a769
commit
3359572e5d
4 changed files with 11 additions and 6 deletions
|
@ -1,5 +1,7 @@
|
|||
language: cpp
|
||||
|
||||
cache: ccache
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- env: NAME="Linux Build"
|
||||
|
@ -12,6 +14,7 @@ matrix:
|
|||
packages:
|
||||
- gcc-7
|
||||
- g++-7
|
||||
- ninja-build
|
||||
install: ./.travis/build-x86_64-linux/deps.sh
|
||||
script: ./.travis/build-x86_64-linux/build.sh
|
||||
- env: NAME="Test - Fuzz against Unicorn"
|
||||
|
@ -25,6 +28,7 @@ matrix:
|
|||
- gcc-7
|
||||
- g++-7
|
||||
- llvm-dev
|
||||
- ninja-build
|
||||
install: ./.travis/test-a64-on-x86_64-linux/deps.sh
|
||||
script: ./.travis/test-a64-on-x86_64-linux/build.sh
|
||||
- env: NAME="Test - SSE3 only"
|
||||
|
@ -38,6 +42,7 @@ matrix:
|
|||
- gcc-7
|
||||
- g++-7
|
||||
- llvm-dev
|
||||
- ninja-build
|
||||
install: ./.travis/sse3-only-on-x86_64-linux/deps.sh
|
||||
script: ./.travis/sse3-only-on-x86_64-linux/build.sh
|
||||
- env: NAME="macOS Build"
|
||||
|
|
|
@ -8,7 +8,7 @@ export CXX=g++-7
|
|||
export PKG_CONFIG_PATH=$HOME/.local/lib/pkgconfig:$PKG_CONFIG_PATH
|
||||
|
||||
mkdir build && cd build
|
||||
cmake .. -DBoost_INCLUDE_DIRS=${PWD}/../externals/ext-boost -DCMAKE_BUILD_TYPE=Release
|
||||
make -j4
|
||||
cmake .. -DBoost_INCLUDE_DIRS=${PWD}/../externals/ext-boost -DCMAKE_BUILD_TYPE=Release -G Ninja
|
||||
ninja
|
||||
|
||||
./tests/dynarmic_tests --durations yes
|
||||
|
|
|
@ -9,7 +9,7 @@ export PKG_CONFIG_PATH=$HOME/.local/lib/pkgconfig:$PKG_CONFIG_PATH
|
|||
export UNICORNDIR=$(pwd)/externals/unicorn
|
||||
|
||||
mkdir build && cd build
|
||||
cmake .. -DBoost_INCLUDE_DIRS=${PWD}/../externals/ext-boost -DCMAKE_BUILD_TYPE=Release -DDYNARMIC_USE_LLVM=1 -DDYNARMIC_TESTS_USE_UNICORN=1 -DDYNARMIC_ENABLE_CPU_FEATURE_DETECTION=0
|
||||
make -j4
|
||||
cmake .. -DBoost_INCLUDE_DIRS=${PWD}/../externals/ext-boost -DCMAKE_BUILD_TYPE=Release -DDYNARMIC_USE_LLVM=1 -DDYNARMIC_TESTS_USE_UNICORN=1 -DDYNARMIC_ENABLE_CPU_FEATURE_DETECTION=0 -G Ninja
|
||||
ninja
|
||||
|
||||
./tests/dynarmic_tests --durations yes
|
||||
|
|
|
@ -9,7 +9,7 @@ export PKG_CONFIG_PATH=$HOME/.local/lib/pkgconfig:$PKG_CONFIG_PATH
|
|||
export UNICORNDIR=$(pwd)/externals/unicorn
|
||||
|
||||
mkdir build && cd build
|
||||
cmake .. -DBoost_INCLUDE_DIRS=${PWD}/../externals/ext-boost -DCMAKE_BUILD_TYPE=Release -DDYNARMIC_USE_LLVM=1 -DDYNARMIC_TESTS_USE_UNICORN=1
|
||||
make -j4
|
||||
cmake .. -DBoost_INCLUDE_DIRS=${PWD}/../externals/ext-boost -DCMAKE_BUILD_TYPE=Release -DDYNARMIC_USE_LLVM=1 -DDYNARMIC_TESTS_USE_UNICORN=1 -G Ninja
|
||||
ninja
|
||||
|
||||
./tests/dynarmic_tests --durations yes
|
||||
|
|
Loading…
Reference in a new issue