1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-25 11:52:40 +01:00

ci: build openrw using clang on fedora

This commit is contained in:
Anonymous Maarten 2018-08-30 03:53:21 +02:00
parent 764fe2ecf4
commit 890deb217b
2 changed files with 10 additions and 2 deletions

View File

@ -6,25 +6,30 @@ git:
matrix:
include:
- os: linux
compiler: gcc
env: NAME="Ubuntu Linux (Latest)" NAME_SUFFIX="ubuntu"
services: docker
script:
- scripts/docker/docker_travis.sh "ubuntu_latest.docker"
- os: linux
env: NAME="Fedora Linux (Latest)" NAME_SUFFIX="fedora"
compiler: clang
env: NAME="Fedora Linux (Latest)" NAME_SUFFIX="fedora-llvm"
services: docker
script:
- scripts/docker/docker_travis.sh "fedora_latest.docker"
- os: linux
compiler: gcc
env: NAME="Arch Linux (Latest)" NAME_SUFFIX="arch" DEBUG=1
services: docker
script:
- scripts/docker/docker_travis.sh "arch_latest.docker"
- os: linux
compiler: gcc
env: NAME="conan" NAME_SUFFIX="conan" USE_CONAN=1
script:
- scripts/docker/docker_travis.sh "conan_base.docker"
- os: osx
compiler: clang
env: NAME="Apple macOS" NAME_SUFFIX="mac"
osx_image: xcode9.4
install:

View File

@ -18,8 +18,11 @@ docker=$1
TRAVIS_BRANCH=$TRAVIS_BRANCH \
USE_CONAN=$USE_CONAN \
ALSOFT_DRIVERS=null \
CC=$CC \
CXX=$CXX \
DEBUG=$DEBUG \
XDG_RUNTIME_DIR=/tmp
# execute test
"$curdir/docker_tool.py" exec -n openrw_builder -U travis -- /bin/bash -c "ctest -VV -S /src/cmake/ctest/script_ci.ctest -VV"
"$curdir/docker_tool.py" exec -n openrw_builder -U travis -- /bin/bash -c \
"ctest -VV -S /src/cmake/ctest/script_ci.ctest -VV"