1
0
mirror of https://github.com/google/cpu_features.git synced 2025-07-01 21:31:15 +02:00

Test travis cross compilation

This commit is contained in:
Guillaume Chatelet
2018-02-14 09:41:51 +01:00
parent 36df25b7bc
commit a25b5cbe7e
5 changed files with 147 additions and 10 deletions

View File

@ -1,16 +1,28 @@
sudo: required
language: c
os:
- linux
- osx
sudo: false
compiler:
- clang
- gcc
cache:
directories:
- $HOME/qemu
matrix:
include:
- os: linux
compiler: gcc
- os: linux
compiler: clang
- os: osx
compiler: gcc
- os: osx
compiler: clang
- os: linux
env:
CROSS_COMPILE=1
TOOLCHAIN_NAME=gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf
TARGET=arm-linux-gnueabihf
QEMU_ARCH=arm
script:
- cmake --version
- cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=ON -H. -Bcmake_build
- cmake --build cmake_build --target all
- CTEST_OUTPUT_ON_FAILURE=1 cmake --build cmake_build --target test
- bash -e -x ./scripts/run_integration.sh