BREAKING CHANGE: refactor library #114
Workflow file for this run
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: Chess Library | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
ChessLibrary: | |
name: Chess Library | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
id: [1, 2, 3, 4] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Installing required packages | |
run: | | |
sudo apt-get update | |
g++ --version | |
- name: Normal Tests | |
if: matrix.id == 1 | |
run: | | |
make -j2 | |
./chess-library-tests | |
- name: ASAN Tests | |
if: matrix.id == 2 | |
run: | | |
make -j2 | |
./chess-library-tests san=asan | |
- name: Memory Tests | |
if: matrix.id == 3 | |
run: | | |
make -j2 | |
./chess-library-tests san=memory | |
- name: Undefined Tests | |
if: matrix.id == 4 | |
run: | | |
make -j2 | |
./chess-library-tests san=undefined |