Repository navigation
High-throughput search and position hot-path optimization #65
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: 🔥 IronPhoenix CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - nnue-v1 | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| name: ${{ matrix.name }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - name: 🐧 Linux GCC | |
| os: ubuntu-latest | |
| configure_args: -DCMAKE_BUILD_TYPE=Release | |
| - name: 🪟 Windows MSVC | |
| os: windows-latest | |
| configure_args: -A x64 | |
| steps: | |
| - name: 📥 Checkout | |
| uses: actions/checkout@v4 | |
| - name: ⚙️ Configure | |
| run: > | |
| cmake -S . -B build | |
| ${{ matrix.configure_args }} | |
| -DIRONPHOENIX_BUILD_TESTS=ON | |
| -DIRONPHOENIX_BUILD_BENCHMARK=ON | |
| - name: 🔨 Build | |
| run: cmake --build build --config Release --parallel | |
| - name: 🧪 Run tests | |
| run: ctest --test-dir build -C Release --output-on-failure | |
| - name: 🧠 Validate PhoenixNet Python | |
| if: ${{ hashFiles('nnue/*.py') != '' }} | |
| run: python -m py_compile nnue/model.py nnue/train.py nnue/export.py |