Skip to content

Commit 2089c41

Browse files
erbsenzaehlermcostalba
authored andcommitted
Update our continuous integration machinery (official-stockfish#1889)
* Update our continuous integration machinery Ubuntu 16.04 can now be used with travis. Updating all the other stuff when there. Invoking the lld linker seems to save 5 minutes with clang on linux. No functional change. * fix
1 parent 656aad8 commit 2089c41

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

.travis.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: cpp
22
sudo: required
3-
dist: trusty
3+
dist: xenial
44

55
matrix:
66
include:
@@ -9,21 +9,21 @@ matrix:
99
addons:
1010
apt:
1111
sources: ['ubuntu-toolchain-r-test']
12-
packages: ['g++-7', 'g++-7-multilib', 'g++-multilib', 'valgrind', 'expect', 'curl']
12+
packages: ['g++-8', 'g++-8-multilib', 'g++-multilib', 'valgrind', 'expect', 'curl']
1313
env:
14-
- COMPILER=g++-7
14+
- COMPILER=g++-8
1515
- COMP=gcc
1616

1717
- os: linux
1818
compiler: clang
1919
addons:
2020
apt:
21-
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-5.0']
22-
packages: ['clang-5.0', 'llvm-5.0-dev', 'g++-multilib', 'valgrind', 'expect', 'curl']
21+
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-xenial-6.0']
22+
packages: ['clang-6.0', 'llvm-6.0-dev', 'g++-multilib', 'valgrind', 'expect', 'curl']
2323
env:
24-
- COMPILER=clang++-5.0
24+
- COMPILER=clang++-6.0
2525
- COMP=clang
26-
- LDFLAGS=-fuse-ld=gold
26+
- LDFLAGS=-fuse-ld=lld
2727

2828
- os: osx
2929
compiler: gcc
@@ -34,7 +34,7 @@ matrix:
3434
- os: osx
3535
compiler: clang
3636
env:
37-
- COMPILER=clang++ V='Apple LLVM 6.0' # Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
37+
- COMPILER=clang++ V='Apple LLVM 9.4.1' # Apple LLVM version 9.1.0 (clang-902.0.39.2)
3838
- COMP=clang
3939

4040
branches:
@@ -69,6 +69,6 @@ script:
6969
#
7070
# Sanitizer
7171
#
72-
# Use g++-7 as a proxy for having sanitizers, might need revision as they become available for more recent versions of clang/gcc
73-
- if [[ "$COMPILER" == "g++-7" ]]; then make clean && make -j2 ARCH=x86-64 sanitize=undefined optimize=no debug=yes build > /dev/null && ../tests/instrumented.sh --sanitizer-undefined; fi
74-
- if [[ "$COMPILER" == "g++-7" ]]; then make clean && make -j2 ARCH=x86-64 sanitize=thread optimize=no debug=yes build > /dev/null && ../tests/instrumented.sh --sanitizer-thread; fi
72+
# Use g++-8 as a proxy for having sanitizers, might need revision as they become available for more recent versions of clang/gcc
73+
- if [[ "$COMPILER" == "g++-8" ]]; then make clean && make -j2 ARCH=x86-64 sanitize=undefined optimize=no debug=yes build > /dev/null && ../tests/instrumented.sh --sanitizer-undefined; fi
74+
- if [[ "$COMPILER" == "g++-8" ]]; then make clean && make -j2 ARCH=x86-64 sanitize=thread optimize=no debug=yes build > /dev/null && ../tests/instrumented.sh --sanitizer-thread; fi

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ branches:
77
- appveyor
88

99
# Operating system (build VM template)
10-
os: Visual Studio 2015
10+
os: Visual Studio 2017
1111

1212
# Build platform, i.e. x86, x64, AnyCPU. This setting is optional.
1313
platform:
@@ -51,7 +51,7 @@ before_build:
5151
$b = git log HEAD | sls "\b[Bb]ench[ :]+[0-9]{7}" | select -first 1
5252
$bench = $b -match '\D+(\d+)' | % { $matches[1] }
5353
Write-Host "Reference bench:" $bench
54-
$g = "Visual Studio 14 2015"
54+
$g = "Visual Studio 15 2017"
5555
If (${env:PLATFORM} -eq 'x64') { $g = $g + ' Win64' }
5656
cmake -G "${g}" .
5757
Write-Host "Generated files for: " $g

0 commit comments

Comments
 (0)