CI: build the signed APK on every main push, and a build:ios job that waits for a Mac runner

build:apk was a manual job on main since it cost ~8 shared-runner minutes; the project runner
on the VM pays for it now, so every main push produces the APK (same key as the release,
artifact at /-/jobs/artifacts/main/browse?job=build:apk) and a broken Android build is caught
before the tag. Merge requests keep the manual button.

build:ios: mobile bundle + xcodebuild archive without a signing identity → unsigned .ipa
(AltStore/Sideloadly), tag builds also into the generic package registry opengym-ios/<ver>/.
Only exists once IOS_RUNNER_TAG names a registered Mac runner; untested until then.
This commit is contained in:
Duarte Santos committed 2026-09-10 14:48:57 +02:00
1 parent acff80348f
commit b4f8bdf2fc
4 files changed
+102 -5

No files matched your search

+2 -1
View File
@@ -48,7 +48,8 @@ cd frontend && npm test
Every MR runs the three test suites (frontend, MCP, api), with the results and the coverage
of your diff shown in the MR itself, plus a build of the web image and the api image when you
touched their inputs. The frontend job also prints how much your change adds to the gzipped
bundle compared with main. The APK and the published images are manual jobs there.
bundle compared with main. The APK and the published images are manual jobs there (on
`main` both build on every push).
One gitlab.com quirk: an MR from a fork runs its pipeline in *your* fork, which usually has
no runners enabled — so it would show "no pipeline" forever. For that reason the project