Recapture the 15-bit goldens on a genuine r5g5b5 screen #63
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: CI | |
| on: | |
| push: | |
| # Every commit on every branch, and no tag pushes: release.yml builds | |
| # those, so a CI run on the same tag would just duplicate that build. | |
| branches: | |
| - '**' | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| name: Build p96cts | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v7 | |
| - name: Build binary inside Amiga GCC container | |
| run: make docker-build | |
| # The same script the release uses, so every push exercises the | |
| # packaging rather than a tag push being the first to try it. Packing | |
| # happens in the toolchain container, which carries a working LHa; | |
| # Ubuntu's "lha" is now lhasa, which only extracts. | |
| - name: Create archive | |
| run: make docker-release TAG="${GITHUB_SHA::7}" | |
| # The archive rather than the bare binary: it carries the golden set | |
| # built from the same commit, which is what makes a CI build directly | |
| # deployable to an emulator. GitHub zips artifacts, so this arrives as | |
| # a zip around the LHA -- worth the extra unwrap for a matched pair. | |
| - name: Upload p96cts archive | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: p96cts | |
| path: p96cts-*.lha |