-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
54 lines (51 loc) · 1.49 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
language: cpp
jobs:
include:
- os: linux
compiler: g++
dist: bionic
sudo: required
install:
- git clone https://github.com/Microsoft/vcpkg.git
- cd vcpkg
- ./bootstrap-vcpkg.sh
- ./vcpkg install boost-test
- ./vcpkg install boost-format
- ./vcpkg install boost-filesystem
- ./vcpkg install cimg
- ./vcpkg install libpng
- ./vcpkg install libplist
- ./vcpkg install libjpeg-turbo
- ./vcpkg install pybind11
- ./vcpkg install utfcpp
- cd ../
script:
- mkdir ./build
- cd ./build
- pyenv global system 3.7
- cmake -DCMAKE_TOOLCHAIN_FILE="../vcpkg/scripts/buildsystems/vcpkg.cmake" ../
- cmake --build ./
- ctest
- os: osx
osx_image: xcode11.5
sudo: required
install:
- git clone https://github.com/Microsoft/vcpkg.git
- cd vcpkg
- ./bootstrap-vcpkg.sh
- ./vcpkg install boost-test
- ./vcpkg install boost-format
- ./vcpkg install boost-filesystem
- ./vcpkg install cimg
- ./vcpkg install libpng
- ./vcpkg install libplist
- ./vcpkg install libjpeg-turbo
- ./vcpkg install pybind11
- ./vcpkg install utfcpp
- cd ../
script:
- mkdir ./build
- cd ./build
- cmake -DCMAKE_TOOLCHAIN_FILE="../vcpkg/scripts/buildsystems/vcpkg.cmake" ../
- cmake --build ./
- ctest