Skip to content

Commit

Permalink
Add ios to ci with --no-codesign
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegec committed Dec 21, 2024
1 parent 485ea37 commit 0cf1dbd
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/example-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,35 @@ jobs:
- target: apk
os: ubuntu-latest
pre-build-script: ""
build-args: ""
debug-artifact-path: build/app/outputs/flutter-apk/app-debug.apk
release-artifact-path: build/app/outputs/flutter-apk/app-release.apk
- target: linux
os: ubuntu-latest
pre-build-script: |
sudo apt-get update -y
sudo apt-get install -y ninja-build libgtk-3-dev
build-args: ""
debug-artifact-path: build/linux/x64/debug/bundle
release-artifact-path: build/linux/x64/release/bundle
- target: windows
os: windows-latest
pre-build-script: ""
build-args: ""
debug-artifact-path: build/windows/x64/runner/Debug
release-artifact-path: build/windows/x64/runner/Release
- target: macos
os: macos-latest
pre-build-script: ""
build-args: ""
debug-artifact-path: build/macos/Build/Products/Debug/*.app
release-artifact-path: build/macos/Build/Products/Release/*.app
# - target: ios
# os: macos-latest
# pre-build-script: ""
# artifact-path: |
# build/ios/iphoneos/Runner.app
- target: ios
os: macos-latest
pre-build-script: ""
build-args: "--no-codesign"
artifact-path: |
build/ios/iphoneos/Runner.app
runs-on: ${{ matrix.os }}
name: ${{ matrix.target }}-${{ matrix.variant }}
Expand Down Expand Up @@ -68,7 +73,7 @@ jobs:
- run: flutter pub get
working-directory: example/
- name: Run flutter ${{ matrix.variant }} build on ${{ matrix.target }}
run: flutter build ${{ matrix.target }} --${{ matrix.variant }} --verbose
run: flutter build ${{ matrix.target }} --${{ matrix.variant }} ${{ matrix.build-args }} --verbose
working-directory: example/

# upload build artifacts
Expand Down

0 comments on commit 0cf1dbd

Please sign in to comment.