forked from Tencent/ncnn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (36 loc) · 923 Bytes
/
.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
sudo: false
language: cpp
addons:
apt:
packages:
- cmake
- libprotobuf-dev
- protobuf-compiler
matrix:
include:
- name: "linux-gcc-arm64"
os: linux
arch: arm64
dist: bionic
compiler: gcc
env:
- NAME=linux-gcc
- BUILD="mkdir build && cd build && cmake .. && make -j2 && ctest --output-on-failure -j 2"
- name: "linux-clang-arm64"
os: linux
arch: arm64
dist: bionic
compiler: clang
env:
- NAME=linux-clang
- BUILD="mkdir build && cd build && cmake .. && make -j2 && ctest --output-on-failure -j 2"
- name: "windows-vs2017"
os: windows
dist: 1803-containers
env:
- NAME=windows-vs2017
- BUILD="mkdir build && cd build && cmake .. && cmake --build . && ctest --output-on-failure -j 2"
before_install:
- eval "${BEFORE_BUILD}"
script:
- eval "${BUILD}"