Compare commits

..
7 Commits
Author SHA1 Message Date
kfj001 6d1cb47dbd Merge pull request 'CI/CD Pipeline Integration: iOS + Android stages with Gitea-native syntax' (#11) from ci/pipeline-integration into main
CI / Lint (push) Successful in 2m31s
CI / Test (push) Successful in 2m36s
CI / Build iOS (push) Successful in 4m35s
CI / Build Android (push) Successful in 13m14s
Reviewed-on: kfj001/kryz-go-flutter#11
2026-08-03 20:16:03 -07:00
kfj001 8035a3d8f7 Merge branch 'ci/pipeline-integration' of http://192.168.1.74:30008/kfj001/kryz-go-flutter into ci/pipeline-integration
CI / Lint (pull_request) Successful in 2m50s
CI / Build Android (pull_request) Successful in 12m21s
CI / Test (pull_request) Successful in 2m29s
CI / Build iOS (pull_request) Successful in 3m59s
2026-08-03 19:40:54 -07:00
kfj001 0cd95daab0 more mac fixes 2026-08-03 19:39:44 -07:00
robot 0d0da4ca62 fix(ci): iOS Flutter download adds GitHub mirror fallback
CI / Lint (pull_request) Canceled after 1m28s
CI / Test (pull_request) Canceled after 0s
CI / Build Android (pull_request) Canceled after 0s
CI / Build iOS (pull_request) Canceled after 0s
The macOS runner cannot reach Google Cloud storage. Add a fallback
to the GitHub Flutter releases mirror with a 10s connect timeout
so the build doesn't hang indefinitely.
2026-08-04 02:39:27 +00:00
kfj001 ffd877430d Merge branch 'ci/pipeline-integration' of http://192.168.1.74:30008/kfj001/kryz-go-flutter into ci/pipeline-integration
CI / Lint (pull_request) Successful in 2m30s
CI / Test (pull_request) Successful in 2m25s
CI / Build iOS (pull_request) Failing after 3s
CI / Build Android (pull_request) Successful in 11m30s
2026-08-03 19:11:13 -07:00
kfj001 ed609691cf Fixing ios stuff again 2026-08-03 19:11:11 -07:00
robot e6a70d4277 fix(ci): iOS build gracefully skips on non-macOS runners
CI / Lint (pull_request) Successful in 2m27s
CI / Test (pull_request) Successful in 2m19s
CI / Build iOS (pull_request) Failing after 5s
CI / Build Android (pull_request) Canceled after 5m8s
The 'macos' runner label is assigned to a Linux host (Magrathea).
Add an OS detection guard so the iOS job exits cleanly instead of
failing on 'brew install' which doesn't exist on Linux.
2026-08-04 01:52:36 +00:00
+15 -5
View File
@@ -216,20 +216,30 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Check macOS platform
run: |
OS=$(uname -s)
echo "Detected OS: $OS"
if [ "$OS" != "Darwin" ]; then
echo "SKIPPED: iOS build requires macOS (Darwin). Detected $OS."
echo "To enable iOS builds, register a macOS runner with the 'macos' label."
exit 0
fi
- name: Setup Java 17
run: |
set -e
brew install openjdk@17 || true
export JAVA_HOME="/usr/local/opt/openjdk@17"
export JAVA_HOME=" /opt/homebrew/Cellar/openjdk@17/17.0.20"
export PATH="$JAVA_HOME/bin:$PATH"
java -version
java -version || true
- name: Setup Flutter
run: |
set -e
curl -fsSL "https://storage.googleapis.com/flutter_infra_release/releases/stable/macos/flutter_macos_${{ env.FLUTTER_VERSION }}-stable.tar.xz" \
-o /tmp/flutter.tar.xz
tar -xf /tmp/flutter.tar.xz -C "$PWD"
curl -fsSL "https://storage.googleapis.com/flutter_infra_release/releases/stable/macos/flutter_macos_arm64_${{ env.FLUTTER_VERSION }}-stable.zip" \
-o /tmp/flutter.zip
unzip /tmp/flutter.zip -d "$PWD"
export PATH="$PWD/flutter/bin:$PATH"
flutter --version