-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from frankkopp/develop
Release v0.3
- Loading branch information
Showing
99 changed files
with
111,703 additions
and
2,438 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,5 @@ build/ | |
*.cache.* | ||
/Release/bin/books/ | ||
/Release/bin/config/ | ||
/books/superbook_xl.pgn | ||
/Testing/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
branches: | ||
only: | ||
- master | ||
- develop | ||
- /dev_.*$/ | ||
|
||
os: linux | ||
dist: xenial | ||
sudo: required | ||
language: cpp | ||
compiler: gcc | ||
|
||
addons: | ||
apt: | ||
sources: | ||
# ubuntu early access versions | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- gcc-9 | ||
- g++-9 | ||
|
||
env: COMPILER=g++ C_COMPILER=gcc BUILD_TYPE=Release | ||
|
||
before_install: | ||
# Check versions of gcc, g++ and cmake | ||
- which gcc && which g++ && which gcc-ar && which cmake | ||
- gcc -v && g++ -v && gcc-ar --version && cmake --version | ||
|
||
install: | ||
# Update to gcc-9 | ||
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 100 | ||
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 100 | ||
- sudo update-alternatives --set gcc /usr/bin/gcc-9 | ||
- sudo update-alternatives --set g++ /usr/bin/g++-9 | ||
- ls -laF /usr/bin/gcc* | ||
- sudo rm -f /usr/bin/gcc-ar | ||
- sudo rm -f /usr/bin/gcc-ranlib | ||
- sudo rm -f /usr/bin/gcc-nm | ||
- sudo ln -s /usr/bin/gcc-ar-9 /usr/bin/gcc-ar | ||
- sudo ln -s /usr/bin/gcc-ranlib-9 /usr/bin/gcc-ranlib | ||
- sudo ln -s /usr/bin/gcc-nm-9 /usr/bin/gcc-nm | ||
- ls -laF /usr/bin/gcc* | ||
# Export CC and CXX to tell cmake which compiler to use | ||
- export CC=/usr/bin/gcc-9 | ||
- export CXX=/usr/bin/g++-9 | ||
- export AR=/usr/bin/gcc-ar-9 | ||
- export NM=/usr/bin/gcc-nm-9 | ||
- export RANLIB=/usr/bin/gcc-ranlib-9 | ||
# Newer CMAKE | ||
- curl -sSL https://cmake.org/files/v3.18/cmake-3.18.2-Linux-x86_64.sh -o install-cmake.sh | ||
- chmod +x install-cmake.sh | ||
- sudo ./install-cmake.sh --prefix=/usr/local --skip-license | ||
- export PATH=/usr/local/bin:$PATH; | ||
# Install BOOST | ||
- wget https://dl.bintray.com/boostorg/release/1.73.0/source/boost_1_73_0.tar.gz >> /dev/null 2>&1 | ||
- tar xfz boost_1_73_0.tar.gz | ||
- cd boost_1_73_0/ | ||
- ./bootstrap.sh --with-libraries=serialization,program_options >> /dev/null 2>&1 | ||
- ./b2 >> /dev/null 2>&1 | ||
- sudo ./b2 install >> /dev/null 2>&1 | ||
- cd .. | ||
|
||
before_script: | ||
# Check versions of gcc, g++ and cmake | ||
- which gcc && which g++ && which gcc-ar && which cmake | ||
- gcc -v && g++ -v && gcc-ar --version && cmake --version | ||
- mkdir -p build && cd build | ||
|
||
script: | ||
# Run your build commands next | ||
- cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DBENCHMARK_ENABLE_TESTING=OFF -DTRAVIS=true .. | ||
- make -j | ||
- ctest -C ${BUILD_TYPE} -DBENCHMARK_ENABLE_TESTING=OFF -E ".*SpeedTests.*" -E ".*TimingTests.*" --output-on-failure | ||
- ./testbench/FrankyCPP_v0.3_Bench | ||
- ./src/FrankyCPP_v0.3 --perft --endDepth=5 | ||
|
||
|
Oops, something went wrong.