Persist CI Cargo caches and repair runtime regression coverage
Verify Tessera GUI / verify (push) Successful in 1m40s

This commit is contained in:
2026-10-23 22:35:00 +08:00
parent 7f77a4aa72
commit 864e57ce1f
9 changed files with 130 additions and 31 deletions
+10 -6
View File
@@ -3,9 +3,15 @@ name: Verify Tessera GUI
on:
push:
branches: [main]
paths-ignore: ["**/*.md"]
pull_request:
paths-ignore: ["**/*.md"]
workflow_dispatch:
concurrency:
group: tessera-${{ gitea.workflow }}-${{ gitea.ref }}
cancel-in-progress: true
jobs:
verify:
runs-on: ces-control
@@ -41,9 +47,7 @@ jobs:
EXPECTED_ASTER_SHA: ${{ steps.aster_revision.outputs.sha }}
run: test "$(git -C vendor/aster rev-parse HEAD)" = "$EXPECTED_ASTER_SHA"
- name: Verify portable GUI code
run: |
sh -n scripts/build-macos-app.sh
image="endorphin-tessera-gui-ci:${{ gitea.sha }}"
docker build -f Dockerfile.ci -t "$image" .
docker run --rm --init "$image"
- name: Verify portable GUI code with persistent Cargo caches
env:
CI_CACHE_SCOPE: ${{ gitea.event_name == 'pull_request' && format('pr-{0}', gitea.event.pull_request.number) || 'main' }}
run: sh scripts/verify-ci.sh