-
Notifications
You must be signed in to change notification settings - Fork 78
/
.travis.yml
112 lines (111 loc) · 3.37 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
language: cpp
jobs:
include:
- os: linux
dist: focal
compiler: "gcc"
sudo: true
before_install:
- |-
sudo rm -rf /usr/local/cmake-3.12.4
sudo apt-get install cmake ninja-build
script:
- cmake -GNinja -DCMAKE_BUILD_TYPE=Release CMakeLists.txt
- cmake --build .
- ctest --output-on-failure
- os: linux
dist: focal
compiler: "gcc"
sudo: true
env:
- WITH_STD_FILESYSTEM=1
before_install:
- |-
sudo rm -rf /usr/local/cmake-3.12.4
sudo apt-get install cmake ninja-build
script:
- cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DARMIPS_USE_STD_FILESYSTEM=1 CMakeLists.txt
- cmake --build .
- ctest --output-on-failure
- os: linux
dist: focal
compiler: "clang"
before_install:
- |-
sudo rm -rf /usr/local/cmake-3.12.4
sudo apt-get install cmake ninja-build
script:
- cmake -GNinja -DCMAKE_BUILD_TYPE=Release CMakeLists.txt
- cmake --build .
- ctest --output-on-failure
- os: mac
compiler: "clang"
before_install:
- brew install ninja
cache:
directories:
- $HOME/Library/Caches/Homebrew
- /usr/local/Homebrew
before_cache:
- brew cleanup
script:
- cmake -GNinja -DCMAKE_BUILD_TYPE=Release CMakeLists.txt
- cmake --build .
- ctest --output-on-failure
- os: mac
compiler: "clang"
osx_image: xcode11.6
env:
- WITH_STD_FILESYSTEM=1
before_install:
- brew install ninja
cache:
directories:
- $HOME/Library/Caches/Homebrew
- /usr/local/Homebrew
before_cache:
- brew cleanup
script:
- cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DARMIPS_USE_STD_FILESYSTEM=1 CMakeLists.txt
- cmake --build .
- ctest --output-on-failure
- os: windows
compiler: "msvc2017"
script:
- cmake -DCMAKE_GENERATOR_PLATFORM=x64 CMakeLists.txt
- cmake --build . --config Release
- ctest -C Release --output-on-failure
- os: windows
compiler: "msvc2017"
env:
- WITH_STD_FILESYSTEM=1
script:
- cmake -DCMAKE_GENERATOR_PLATFORM=x64 -DARMIPS_USE_STD_FILESYSTEM=1 CMakeLists.txt
- cmake --build . --config Release
- ctest -C Release --output-on-failure
- os: windows
compiler: "msvc2019"
env:
- MSBUILD_PATH="C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin"
install:
- choco install visualstudio2019buildtools --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64"
script:
- cmake -DCMAKE_GENERATOR_PLATFORM=x64 CMakeLists.txt
- cmake --build . --config Release
- ctest -C Release --output-on-failure
- os: windows
compiler: "clang"
before_install:
- choco install ninja
script:
- cmake -GNinja -DCMAKE_BUILD_TYPE=Release CMakeLists.txt
- cmake --build .
- ctest --output-on-failure
- os: windows
compiler: "mingw"
before_install:
- choco install ninja
script:
- cmake -GNinja -DCMAKE_BUILD_TYPE=Release CMakeLists.txt
- cmake --build .
- ctest --output-on-failure