Add unfair games from May 2024 - July 2024 #158
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
name: C/C++ CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Download Stockfish | |
working-directory: ./lib/stockfish | |
run: make get-stockfish | |
- name: Compile Stockfish | |
working-directory: ./lib/stockfish | |
run: make | |
- name: Install Stockfish | |
working-directory: ./lib/stockfish | |
run: sudo make install | |
- name: Enable shared libraries | |
run: sudo /sbin/ldconfig -v | |
- name: Compile CHA | |
working-directory: ./src | |
run: make | |
- name: Test CHA | |
working-directory: ./src | |
run: ./cha test && cat ../tests/unfair.txt | ./cha -quick | grep unwinnable | wc -l | |
- name: Benchmarks | |
working-directory: ./src | |
run: make test && make run-test |