From eaf314c32d29876d8eff17a08713f308ff13518f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E5=A3=AE?= Date: Tue, 14 Apr 2026 09:21:37 +0000 Subject: [PATCH] ci: add iOS build job to CI pipeline --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 000d278..9ff8a38 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -95,6 +95,33 @@ jobs: name: habo-macos path: build/macos/Build/Products/Release/habo.dmg + build-ios: + needs: test + runs-on: mac-runner + steps: + - uses: actions/checkout@v4 + - name: Setup Flutter + uses: subosito/flutter-action@v2 + with: + flutter-version: '3.35.7' + - name: Get dependencies + run: flutter pub get + - name: Install CocoaPods + run: cd ios && pod install + - name: Build iOS + run: flutter build ios --release --no-codesign --no-tree-shake-icons + - name: Package .app + run: | + mkdir -p payload + cp -r build/ios/iphoneos/Runner.app payload/ + cd payload + zip -r ../Habo-iOS-no-sign.zip Runner.app + - name: Upload iOS artifact + uses: actions/upload-artifact@v4 + with: + name: habo-ios-no-sign + path: Habo-iOS-no-sign.zip + build-windows: needs: test runs-on: windows-runner