Deadpos 2 #11
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: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: sudo apt-get update && sudo apt-get install -y --no-install-recommends opam curl && opam init -y --bare --disable-sandboxing && pip3 install python-chess | |
- 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: Download and compile CHA | |
working-directory: ./lib/cha | |
run: make | |
- name: Install CHA | |
working-directory: ./lib/cha | |
run: sudo make install | |
- name: Enable shared libraries | |
run: sudo /sbin/ldconfig -v | |
- name: Download and compile Retractor | |
working-directory: ./src/ | |
run: make get-retractor | |
- name: Compile Deadpos | |
working-directory: ./src | |
run: make | |
- name: Test Deadpos | |
working-directory: ./src | |
run: make test |