Skip to content

Next triage re-baseline (r47): WOTEF/Aliens were folder-staging artif… #20

Next triage re-baseline (r47): WOTEF/Aliens were folder-staging artif…

Next triage re-baseline (r47): WOTEF/Aliens were folder-staging artif… #20

# Builds and publishes the zx_go conformance dashboard to GitHub Pages.
# The page is generated by packages/emulator-core/zx_go/conformance/confgen
# from the conformance manifest, the actual `go test -json` run, and the
# known-gaps register. See conformance/README.md for the schema and rules.
name: Conformance dashboard
on:
push:
branches: [main]
paths:
- 'packages/emulator-core/**'
- '.github/workflows/conformance-pages.yml'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: packages/emulator-core/zx_go/go.mod
cache-dependency-path: packages/emulator-core/zx_go/go.sum
- name: Install Fyne build dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgl1-mesa-dev xorg-dev libasound2-dev
# Full suite (not -short) so zexdoc/zexall run. Tests that need the
# licensed Next ROMs skip cleanly when the assets are absent, and a
# failing test must still publish (it shows as a red row), so the
# exit code is deliberately swallowed.
- name: Run zx_go test suite
working-directory: packages/emulator-core/zx_go
run: go test -json -count=1 ./... > /tmp/gotest.json || true
- name: Generate dashboard
working-directory: packages/emulator-core/zx_go/conformance/confgen
run: >
go run .
-manifest ../manifest.json
-results /tmp/gotest.json
-gaps ../../docs/architecture/known-gaps.md
-vhdl ../../VHDL_CONFORMANCE.md
-out /tmp/site
- uses: actions/configure-pages@v5
with:
enablement: true
- uses: actions/upload-pages-artifact@v3
with:
path: /tmp/site
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4