Files
appcakes-builds/codemagic.yaml
2026-05-20 11:23:28 +00:00

53 lines
1.3 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
workflows:
android-debug:
name: Android Debug APK
max_build_duration: 45
instance_type: mac_mini_m2
environment:
node: 22
java: 21
cache:
cache_paths:
- $HOME/.gradle/caches
- $HOME/.gradle/wrapper
scripts:
- name: Install dependencies
script: npm install
- name: Build web assets
script: npm run build
- name: Capacitor sync
script: npx cap sync android
- name: Build debug APK
script: |
cd android
./gradlew assembleDebug --no-daemon
artifacts:
- android/app/build/outputs/apk/debug/app-debug.apk
ios-debug:
name: iOS Debug IPA
max_build_duration: 60
instance_type: mac_mini_m2
environment:
node: 20
xcode: latest
cache:
cache_paths:
- $HOME/Library/Caches/CocoaPods
scripts:
- name: Install dependencies
script: npm install
- name: Build web assets
script: npm run build
- name: Capacitor sync
script: npx cap sync ios
- name: Install CocoaPods
script: cd ios/App && pod install
- name: Build IPA
script: |
xcode-project build-ipa \
--workspace ios/App/App.xcworkspace \
--scheme App
artifacts:
- build/ios/ipa/*.ipa