cesium-native/.travis.yml

32 lines
793 B
YAML
Raw Normal View History

2020-08-17 13:10:33 +08:00
language: cpp
2020-12-03 13:05:56 +08:00
jobs:
2020-08-17 13:10:33 +08:00
include:
2020-12-03 13:05:56 +08:00
- name: Windows + VS2019
os: windows
2020-08-17 13:10:33 +08:00
install:
- choco install visualstudio2019buildtools --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64"
- choco install doxygen.install
2020-12-03 13:05:56 +08:00
- name: Linux + GCC
os: linux
2020-12-03 13:14:10 +08:00
dist: focal
2020-08-17 13:10:33 +08:00
install:
- sudo apt-get update
- sudo apt-get install cmake doxygen
2020-12-03 13:05:56 +08:00
- name: Linux + Clang
os: linux
2020-12-03 13:14:10 +08:00
dist: focal
2020-12-03 13:05:56 +08:00
env:
2020-12-03 14:07:46 +08:00
- CC=clang-10
- CXX=clang++-10
2020-12-03 13:05:56 +08:00
install:
- sudo apt-get update
2020-12-03 14:07:46 +08:00
- sudo apt-get install clang-10 cmake doxygen
2020-08-17 13:10:33 +08:00
script:
- mkdir -p build
- cd build
- cmake ..
- cmake --build . --config Debug
- ctest -V
- cmake --build . --config Debug --target cesium-native-docs