-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: test iOS flavor and nightly for release build
- Loading branch information
Showing
1 changed file
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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 | ||
|