Skip to content

Commit

Permalink
[ci] Drop cirrus ci (#89)
Browse files Browse the repository at this point in the history
* [ci] Drop cirrus ci
  • Loading branch information
littleGnAl authored Oct 18, 2023
1 parent c75ab61 commit 53fe31e
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 46 deletions.
40 changes: 0 additions & 40 deletions .cirrus.yml

This file was deleted.

28 changes: 24 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ jobs:
- uses: actions/checkout@v1
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.10.0' # Run the latest version
flutter-version: '3.13.0' # Run the latest version
cache: true
- uses: futureware-tech/simulator-action@v2
with:
Expand All @@ -257,11 +257,31 @@ jobs:
run: |
flutter packages get
flutter test integration_test/iris_event_smoke_test.dart -d "iPhone 14 Pro Max" --verbose
flutter test integration_test/iris_method_channel_smoke_test.dart -d "iPhone 14 Pro Max" --verbose
working-directory: example

integration_test_ios_use_frameworks:
name: ios integration test with use_frameworks
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
runs-on: macos-13
timeout-minutes: 60
steps:
- uses: actions/checkout@v1
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.10.0' # Run the latest version
cache: true
- uses: futureware-tech/simulator-action@v2
with:
model: 'iPhone 14 Pro Max'
- name: ios integration test
run: |
export USE_FRAMEWORKS=true
flutter test integration_test
unset USE_FRAMEWORKS
flutter test integration_test
flutter packages get
flutter test integration_test/iris_event_smoke_test.dart -d "iPhone 14 Pro Max" --verbose
flutter test integration_test/iris_method_channel_smoke_test.dart -d "iPhone 14 Pro Max" --verbose
working-directory: example

integration_test_macos:
Expand Down
2 changes: 1 addition & 1 deletion example/integration_test/iris_event_smoke_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ void main() {
irisEvent.onEventPtr;
irisEvent.dispose();
},
timeout: const Timeout(Duration(minutes: 10)),
timeout: const Timeout(Duration(minutes: 30)),
);
}
3 changes: 2 additions & 1 deletion example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ target 'Runner' do
# test the `use_frameworks!` and not use `use_frameworks!` case
if ENV['USE_FRAMEWORKS'] == "true"
use_frameworks!
use_modular_headers!
end

use_modular_headers!

flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end

Expand Down

0 comments on commit 53fe31e

Please sign in to comment.