Skip to content

Commit

Permalink
chore: test iOS flavor and nightly for release build
Browse files Browse the repository at this point in the history
  • Loading branch information
knopp committed Sep 12, 2023
1 parent fa301d5 commit 602a350
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/test_example_plugin_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- release
env:
EXAMPLE_DIR: "a b/hello_rust_ffi_plugin/example"
CARGOKIT_VERBOSE: 1
steps:
- name: Extract branch name
shell: bash
Expand All @@ -34,7 +35,8 @@ jobs:
cd "a b"
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
git clone https://github.com/irondash/hello_rust_ffi_plugin
# "advanced" branch has extra iOS flavor and uses rust nightly for release builds
git clone -b advanced https://github.com/irondash/hello_rust_ffi_plugin
cd hello_rust_ffi_plugin
git subtree pull --prefix cargokit https://github.com/irondash/cargokit.git ${{ steps.extract_branch.outputs.branch }} --squash
- uses: subosito/flutter-action@v1
Expand All @@ -61,6 +63,11 @@ jobs:
shell: bash
working-directory: ${{ env.EXAMPLE_DIR }}
run: flutter build ios --${{ matrix.build_mode }} --no-codesign -v
- name: Build iOS (${{ matrix.build_mode }}) - flavor1
if: matrix.os == 'macos-latest'
shell: bash
working-directory: ${{ env.EXAMPLE_DIR }}
run: flutter build ios --flavor flavor1 --${{ matrix.build_mode }} --no-codesign -v
- name: Build Windows (${{ matrix.build_mode }})
if: matrix.os == 'windows-latest'
shell: bash
Expand Down

0 comments on commit 602a350

Please sign in to comment.