-
Notifications
You must be signed in to change notification settings - Fork 769
/
.travis.yml
73 lines (66 loc) · 1.86 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
sudo: false
git:
depth: 3
quiet: true
addons:
apt:
package:
- lcov
matrix:
include:
- name: "Linux | Arm64 | build"
os: linux
arch: arm64
before_install:
- ./scripts/.ci/preflight.sh arm || travis_terminate 0
script:
- ./scripts/build_aarch64_linux.sh
- name: "Linux | Arm32 | build"
os: linux
arch: arm64
before_install:
- ./scripts/.ci/preflight.sh arm || travis_terminate 0
before_script:
- sudo dpkg --add-architecture armhf
- sudo apt-get update
- sudo apt-get -y install crossbuild-essential-armhf libc6:armhf libstdc++-5-dev:armhf linux-libc-dev:armhf
script:
- ./scripts/build_armhf_linux.sh
- name: "Linux | Arm64 | test"
os: linux
compiler: clang
arch: arm64
before_install:
- ./scripts/.ci/preflight.sh arm || travis_terminate 0
script:
- travis_wait 40 ./scripts/build_test.sh
- name: "Windows | x64 | build"
os: windows
language: cpp
before_install:
- ./scripts/.ci/preflight.sh x86 || travis_terminate 0
install:
- PowerShell -Command 'Set-ExecutionPolicy -ExecutionPolicy RemoteSigned'
- choco install ninja
script:
- scripts/build_msvc_native.bat x64 ci
env:
- CXX=cl.exe
- CXX_FOR_BUILD=cl.exe
- CC=cl.exe
- CC_FOR_BUILD=cl.exe
- name: "Windows | x86 | build"
os: windows
language: cpp
before_install:
- ./scripts/.ci/preflight.sh x86 || travis_terminate 0
install:
- PowerShell -Command 'Set-ExecutionPolicy -ExecutionPolicy RemoteSigned'
- choco install ninja
script:
- scripts/build_msvc_native.bat x86 ci
env:
- CXX=cl.exe
- CXX_FOR_BUILD=cl.exe
- CC=cl.exe
- CC_FOR_BUILD=cl.exe