-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (42 loc) · 1.48 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
language: cpp
dist: bionic
git:
submodules: false
depth: false
matrix:
fast_finish: true
include:
- os: linux
name: GCC (sonar-scanner)
env:
- CMAKE_ARGS="-DBUILD_WSI_XCB_SUPPORT=OFF -DBUILD_WSI_XLIB_SUPPORT=OFF -DBUILD_WSI_WAYLAND_SUPPORT=OFF"
- CMAKE_BUILD_WRAPPER="build-wrapper-linux-x86-64 --out-dir ."
- LIBINTERCEPTOR_DIR="/home/travis/.sonar/cache/681277d525b6e4c5ed5e6c2a429caa64/build-wrapper-linux-x86"
addons:
apt:
packages: mesa-vulkan-drivers
sonarcloud:
organization: "mualphaomegaepsilon-github"
before_script:
- pushd .
- LIBINTERCEPTOR=$(find /home/travis/.sonar/cache -name libinterceptor-x86_64.so)
- cd $(dirname "${LIBINTERCEPTOR}")
- cp libinterceptor-x86_64.so libinterceptor-haswell.so
- popd
after_script: cd ../.. && sonar-scanner > /dev/null
- os: osx
name: Clang
osx_image: xcode11
- os: windows
name: MSVC
env:
- CMAKE_ARGS="-DWDK_FULL_PATH=C:/Users/travis/build/MuAlphaOmegaEpsilon/vengine/libs/wdk-10 -DCMAKE_SUPPRESS_REGENERATION=ON"
- CMAKE_BUILD_ARGS="-- -nologo -verbosity:minimal"
before_script:
- git submodule update --init --depth 1 --remote libs/wdk-10
script:
- git submodule update --init --depth 1 --remote libs/Vulkan-Headers
- git submodule update --init --depth 1 --remote libs/Vulkan-Loader
- mkdir -p tests/build && cd tests/build
- cmake .. ${CMAKE_ARGS}
- ${CMAKE_BUILD_WRAPPER} cmake --build . ${CMAKE_BUILD_ARGS}