From 618ad28783884d194fe18ecdc94e89b60e60a60f Mon Sep 17 00:00:00 2001 From: noah Date: Sun, 18 Oct 2026 19:47:38 -0600 Subject: [PATCH] Consolidate setup and gate benchmark publication --- .gitea/workflows/release.yml | 36 +++++++++++++++++------------------- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 0ef06c4f..1fcce6d9 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -49,8 +49,8 @@ jobs: run: | apt-get update -qq apt-get install -y -qq --no-install-recommends \ - libssl-dev pkg-config ca-certificates openssh-client >/dev/null - echo "libssl-dev + pkg-config installed (openssl-sys needs them)" + libssl-dev pkg-config ca-certificates openssh-client \ + xvfb xauth dbus-x11 fonts-dejavu-core >/dev/null - name: Cache vendored wxWidgets build uses: actions/cache@v4 @@ -103,25 +103,8 @@ jobs: python3 ci/bench-badge.py --current bench-current.txt \ --baseline badges/bench-baseline.json --no-write - - name: Record private benchmark history - env: - GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} - run: python3 ci/bench_history.py publish - - - uses: https://github.com/ChristopherHX/gitea-upload-artifact@81f940d004763f986ba3582c007fd842dd5cb0d7 - with: - name: alkane-toolkit-benchmark-site-preview - path: bench-site/index.html - - name: Publish public benchmark page - env: - GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} - BENCH_PAGES_DEPLOY_KEY: ${{ secrets.BENCH_PAGES_DEPLOY_KEY }} - run: python3 ci/publish-bench-pages.py toolkit - - name: Headless UI self-test run: | - apt-get update -qq && apt-get install -y -qq --no-install-recommends \ - xvfb xauth dbus-x11 fonts-dejavu-core >/dev/null BIN=target/release/alkane-toolkit xvfb-run -a env GDK_BACKEND=x11 ALKANE_SELFTEST=1 "$BIN" @@ -186,6 +169,21 @@ jobs: GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} run: python3 ci/publish-metrics.py + - name: Record private benchmark history + env: + GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} + run: python3 ci/bench_history.py publish + + - uses: https://github.com/ChristopherHX/gitea-upload-artifact@81f940d004763f986ba3582c007fd842dd5cb0d7 + with: + name: alkane-toolkit-benchmark-site-preview + path: bench-site/index.html + - name: Publish public benchmark page + env: + GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} + BENCH_PAGES_DEPLOY_KEY: ${{ secrets.BENCH_PAGES_DEPLOY_KEY }} + run: python3 ci/publish-bench-pages.py toolkit + - name: Package artifact if: steps.ver.outputs.release == 'true' id: pkg