Nightly Golden Eval #6
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: Nightly Golden Eval | |
| on: | |
| schedule: | |
| - cron: "0 2 * * *" | |
| workflow_dispatch: | |
| jobs: | |
| golden-eval: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libasound2-dev libjack-jackd2-dev libfreetype6-dev libfontconfig1-dev libx11-dev libxcomposite-dev libxcursor-dev libxext-dev libxinerama-dev libxrandr-dev libxrender-dev libwebkit2gtk-4.1-dev libgtk-3-dev libglu1-mesa-dev mesa-common-dev libcurl4-openssl-dev | |
| - name: Configure | |
| run: cmake -S . -B build-codex -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DBUILD_TOOLS=ON | |
| - name: Build | |
| run: cmake --build build-codex --parallel 3 | |
| - name: Run Unit + Regression Tests | |
| run: ctest --test-dir build-codex --output-on-failure -j4 | |
| - name: Update Eval Trend | |
| if: success() || failure() | |
| run: | | |
| ./build-codex/automix_dev_tools eval-trend \ | |
| --baseline tests/regression/baselines.json \ | |
| --work-dir artifacts/ci_eval \ | |
| --trend artifacts/eval/golden_trend.json \ | |
| --out artifacts/eval/nightly_summary.json \ | |
| --json | |
| - name: Upload Eval Artifacts | |
| if: success() || failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: nightly-golden-eval | |
| path: | | |
| artifacts/eval/golden_trend.json | |
| artifacts/eval/nightly_summary.json | |
| artifacts/ci_eval |