mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 08:37:44 +00:00
First little CI step for the learner
This commit is contained in:
committed by
nodchip
parent
e9e52faae7
commit
31e8be3008
+5
-2
@@ -7,7 +7,7 @@ matrix:
|
|||||||
compiler: gcc
|
compiler: gcc
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages: ['g++-8', 'g++-8-multilib', 'g++-multilib', 'valgrind', 'expect', 'curl']
|
packages: ['g++-8', 'g++-8-multilib', 'g++-multilib', 'valgrind', 'expect', 'curl', 'openblas']
|
||||||
env:
|
env:
|
||||||
- COMPILER=g++-8
|
- COMPILER=g++-8
|
||||||
- COMP=gcc
|
- COMP=gcc
|
||||||
@@ -16,7 +16,7 @@ matrix:
|
|||||||
compiler: clang
|
compiler: clang
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages: ['clang-10', 'llvm-10-dev', 'g++-multilib', 'valgrind', 'expect', 'curl']
|
packages: ['clang-10', 'llvm-10-dev', 'g++-multilib', 'valgrind', 'expect', 'curl', 'openblas']
|
||||||
env:
|
env:
|
||||||
- COMPILER=clang++-10
|
- COMPILER=clang++-10
|
||||||
- COMP=clang
|
- COMP=clang
|
||||||
@@ -74,6 +74,9 @@ script:
|
|||||||
# workaround: exclude a custom version of llvm+clang, which doesn't find llvm-profdata on ubuntu
|
# workaround: exclude a custom version of llvm+clang, which doesn't find llvm-profdata on ubuntu
|
||||||
- if [[ "$TRAVIS_OS_NAME" != "linux" || "$COMP" == "gcc" ]]; then make clean && make -j2 ARCH=x86-64-modern profile-build && ../tests/signature.sh $benchref; fi
|
- if [[ "$TRAVIS_OS_NAME" != "linux" || "$COMP" == "gcc" ]]; then make clean && make -j2 ARCH=x86-64-modern profile-build && ../tests/signature.sh $benchref; fi
|
||||||
|
|
||||||
|
# start some basic learner CI
|
||||||
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make clean && make -j2 ARCH=x86-64-modern learn; fi
|
||||||
|
|
||||||
# compile only for some more advanced architectures (might not run in travis)
|
# compile only for some more advanced architectures (might not run in travis)
|
||||||
- make clean && make -j2 ARCH=x86-64-avx2 build
|
- make clean && make -j2 ARCH=x86-64-avx2 build
|
||||||
- make clean && make -j2 ARCH=x86-64-bmi2 build
|
- make clean && make -j2 ARCH=x86-64-bmi2 build
|
||||||
|
|||||||
Reference in New Issue
Block a user