Commit graph

5 commits

Author SHA1 Message Date
Claude
9cf3ea79cf
ci: add Android APK build job
New build_android job running on ubuntu-latest:
- setup-java@v4 with JDK 17 (Temurin) matching compileOptions
- npm ci + build:userscript (same as iOS job)
- Gradle cache keyed on wrapper + root/app build.gradle hashes
- ./gradlew assembleRelease --no-daemon
- Artifact: Movix-Android-<version>, retention 30 days

Both jobs now triggered independently via workflow_dispatch booleans
(build_ios / build_android, both default true).
APK is debug-signed (falls back to signingConfigs.debug when no
keystore.properties) — suitable for sideloading.

https://claude.ai/code/session_01X52sah6aUu3ou26uJWHgzr
2026-06-11 15:22:39 +00:00
Claude
6563874ee2
ci: fix Metro UnableToResolveError - generate userscript before build
src/injection/userscript-source.ts is .gitignored (generated from
userscript/movix.user.js). Metro bundler fails at bundle phase with
UnableToResolveError when it tries to import ./userscript-source.
Add `npm run build:userscript` step after npm ci to generate the file.

Also: pipe xcodebuild through tee to save raw log + use ${PIPESTATUS[0]}
for correct exit code propagation. Upload raw log as artifact on failure
to expose the full error without xcpretty truncation.

https://claude.ai/code/session_01X52sah6aUu3ou26uJWHgzr
2026-06-11 13:53:46 +00:00
Claude
902d8b4f75
ci: improve iOS unsigned build action for MovixApp rename
- Fix workspace/scheme/app names: Movix → MovixApp (upstream rename)
- Add ruby/setup-ruby with CocoaPods 1.16.2 pinned (matches Podfile.lock)
- Switch npm install → npm ci (faster, uses package-lock.json)
- Cache node_modules keyed on package-lock.json hash
- Add xcpretty for readable xcodebuild output
- Add ONLY_ACTIVE_ARCH=NO for Release (builds all architectures)
- Add set -eo pipefail for reliable error propagation
- Read version from version.json and embed in artifact name
- Add retention-days: 30 on uploaded artifact
- Add job timeout-minutes: 60

https://claude.ai/code/session_01X52sah6aUu3ou26uJWHgzr
2026-06-11 13:37:40 +00:00
BARTHES Mathéo
e05ded8117
Update build.yml for iOS build directory changes 2026-04-29 21:56:24 +02:00
BARTHES Mathéo
31f00e0de5
Add GitHub Actions workflow for building iOS applications 2026-04-29 21:51:52 +02:00