-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (31 loc) · 931 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
os: linux
dist: bionic
language: cpp
compiler: gcc
addons:
apt:
sources:
- sourceline: "ppa:ubuntu-toolchain-r/test"
packages:
- gcc-10
- g++-10
before_install:
- export CC=gcc-10
- export CXX=g++-10
install:
# Latest cmake -- see https://github.com/travis-ci/travis-ci/issues/7437
- mkdir $HOME/usr
- export PATH="$HOME/usr/bin:$PATH"
- wget https://github.com/Kitware/CMake/releases/download/v3.18.0/cmake-3.18.0-Linux-x86_64.sh
- chmod +x cmake-3.18.0-Linux-x86_64.sh
- ./cmake-3.18.0-Linux-x86_64.sh --prefix=$HOME/usr --exclude-subdir --skip-license
- cmake --version
script:
- mkdir assets && cd assets
- wget https://github.com/michaeldv/donna_opening_books/raw/master/gm2001.bin
- cd -
- mkdir build && cd build
- cmake -DCMAKE_BUILD_TYPE=Release ..
- make all
- cd tests/engine; ./engine_tests -d yes; cd -
- cd tests/backend; ./backend_tests -d yes; cd -