Skip to content

Run Windows games on Apple Silicon — free, open source, with an open compatibility database that tells you what actually works.

ci: check out highball-db before the unit tests, validate tweak recipes too

Gauthier Piarrette49e7ef8def94
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d450161..8c22c51 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -18,6 +18,11 @@ jobs:
run: sudo xcode-select -s /Applications/Xcode_16.1.app || sudo xcode-select -s /Applications/Xcode_16.0.app || true
- name: Build
run: swift build
+ # The db checkout has to sit next to the repo before the unit tests: RecipeDBTests
+ # decode every shipped recipe and row and skip themselves when it is absent, which
+ # left five of them silently unrun on every CI run until 2026-09-18.
+ - name: Check out highball-db next to the repo
+ run: git clone --depth 1 https://github.com/gauthierpiarrette/highball-db.git ../highball-db
- name: Unit tests
run: swift test
- name: Upgrade smoke (an existing install is still seen; headless)
@@ -26,7 +31,6 @@ jobs:
run: Scripts/firstrun-smoke.sh
- name: Validate recipes against the CLI (from highball-db)
run: |
- git clone --depth 1 https://github.com/gauthierpiarrette/highball-db.git ../highball-db
- for f in ../highball-db/recipes/launchers/*.json ../highball-db/recipes/games/*.json; do
+ for f in ../highball-db/recipes/launchers/*.json ../highball-db/recipes/games/*.json ../highball-db/recipes/tweaks/*.json; do
.build/debug/highball recipe show "$f" > /dev/null || exit 1
done