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