Files
codemagictest/codemagic.yaml
2026-05-10 20:51:38 +02:00

22 lines
849 B
YAML

workflows:
mac-ssh-debug:
name: macOS M2 Free Tier - SSH Debug
# MUST be mac_mini_m2 to use the free 500 minutes
instance_type: mac_mini_m2
# Optional: Safety limit so you don't burn all your minutes if you walk away
max_build_duration: 30
scripts:
- name: 🛑 Pause build for SSH Access
script: |
echo "🚀 VM is ready!"
echo "👉 Go to the Codemagic UI, open this running build, and click 'Enable SSH'."
echo "⏳ The build will pause here for 20 minutes to let you poke around..."
# Pauses the script for 1200 seconds (20 minutes)
sleep 1200
- name: Next Step (Optional)
script: |
echo "If you let the sleep command finish, the build continues here."
# flutter build ios / xcodebuild / etc.