feat: add node stack to thread data #476
Workflow file for this run
This file contains hidden or 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: UCI Compliance | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Rust stable | |
| run: rustup default stable | |
| - uses: actions/checkout@v6 | |
| with: | |
| lfs: true | |
| - name: Install just | |
| uses: extractions/setup-just@v4 | |
| - name: Checkout fastchess | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: Disservin/fastchess | |
| path: fast-chess | |
| - name: Get fastchess commit hash | |
| id: fastchess-commit | |
| run: echo "sha=$(cd fast-chess && git rev-parse HEAD)" >> $GITHUB_OUTPUT | |
| - name: Cache fastchess binary | |
| uses: actions/cache@v5 | |
| with: | |
| path: fast-chess/fastchess | |
| key: fastchess-${{ runner.os }}-${{ steps.fastchess-commit.outputs.sha }} | |
| restore-keys: | | |
| fastchess-${{ runner.os }}- | |
| - name: Build fastchess | |
| run: | | |
| cd fast-chess | |
| make -j CXX=clang++ | |
| - name: Build byte-knight | |
| run: just build-target-release byte-knight | |
| - name: Run UCI compliance tests | |
| run: | | |
| chmod +x ./fast-chess/fastchess | |
| ./fast-chess/fastchess --compliance ./target/release/byte-knight |