Skip to content

Commit 237dfa1

Browse files
authored
Better isolates (#71)
* Better isolates * fix: windows tests * fix: windows tests * chore: updated xcode assets * fix: disable cache android * fix: no impeller for ios and macos
1 parent d76b861 commit 237dfa1

File tree

17 files changed

+68
-57
lines changed

17 files changed

+68
-57
lines changed

.github/workflows/tests_android.yml

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,6 @@ jobs:
1212
runs-on: macos-13
1313
steps:
1414
- uses: actions/checkout@v3
15-
- uses: actions/cache@v3
16-
with:
17-
path: |
18-
~/.gradle/caches
19-
~/.gradle/wrapper
20-
key: gradle-android
21-
- uses: actions/cache@v3
22-
id: avd-cache
23-
with:
24-
path: |
25-
~/.android/avd/*
26-
~/.android/adb*
27-
key: avd-android
2815
- uses: actions/setup-java@v3
2916
with:
3017
distribution: 'temurin'
@@ -35,19 +22,10 @@ jobs:
3522
flutter-version: '3.x'
3623
channel: 'stable'
3724
- run: flutter pub get
38-
- if: steps.avd-cache.outputs.cache-hit != 'true'
39-
uses: reactivecircus/android-emulator-runner@v2
40-
with:
41-
api-level: 30
42-
avd-name: PhoneAPI30
43-
force-avd-creation: false
44-
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
45-
disable-animations: false
46-
script: echo "Generated AVD snapshot for caching."
4725
- uses: reactivecircus/android-emulator-runner@v2
4826
with:
49-
api-level: 30
50-
avd-name: PhoneAPI30
27+
api-level: 29
28+
avd-name: PhoneAPI29
5129
force-avd-creation: false
5230
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
5331
disable-animations: true

.github/workflows/tests_ios.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ jobs:
2323
run: |
2424
flutter pub get
2525
cd example/ios && pod install
26-
- run: "cd example && flutter test --verbose integration_test/app_test.dart"
26+
- run: "cd example && flutter test --verbose --no-enable-impeller integration_test/app_test.dart"

.github/workflows/tests_macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ jobs:
2121
flutter config --enable-macos-desktop
2222
flutter pub get
2323
cd example/macos && pod install
24-
- run: "cd example && flutter test --verbose -d macos integration_test/app_test.dart"
24+
- run: "cd example && flutter test --verbose --no-enable-impeller -d macos integration_test/app_test.dart"
2525
- run: "cd example && flutter test --verbose test/app_test.dart"

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 3.8.2
2+
3+
- Updated Isolate spawn logic to close gracefully
4+
15
## 3.8.1
26

37
- Updated binaries to v1.10.3

example/ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<key>CFBundleVersion</key>
2222
<string>1.0</string>
2323
<key>MinimumOSVersion</key>
24-
<string>11.0</string>
24+
<string>12.0</string>
2525
</dict>
2626
</plist>

example/ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Uncomment this line to define a global platform for your project
2-
# platform :ios, '11.0'
2+
# platform :ios, '12.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

example/ios/Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ EXTERNAL SOURCES:
1919
:path: ".symlinks/plugins/openpgp/ios"
2020

2121
SPEC CHECKSUMS:
22-
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
23-
integration_test: a1e7d09bd98eca2fc37aefd79d4f41ad37bdbbe5
22+
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
23+
integration_test: ce0a3ffa1de96d1a89ca0ac26fca7ea18a749ef4
2424
openpgp: 8925c86ba4a2663e345e3e6e133d8c4e6f6754a3
2525

26-
PODFILE CHECKSUM: 663715e941f9adb426e33bf9376914006f9ea95b
26+
PODFILE CHECKSUM: 1a782344d33c12ced0182eeab11e8668d253eb48
2727

28-
COCOAPODS: 1.11.3
28+
COCOAPODS: 1.14.3

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 50;
6+
objectVersion = 54;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -158,7 +158,7 @@
158158
97C146E61CF9000F007C117D /* Project object */ = {
159159
isa = PBXProject;
160160
attributes = {
161-
LastUpgradeCheck = 1300;
161+
LastUpgradeCheck = 1510;
162162
ORGANIZATIONNAME = "";
163163
TargetAttributes = {
164164
97C146ED1CF9000F007C117D = {
@@ -202,10 +202,12 @@
202202
/* Begin PBXShellScriptBuildPhase section */
203203
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
204204
isa = PBXShellScriptBuildPhase;
205+
alwaysOutOfDate = 1;
205206
buildActionMask = 2147483647;
206207
files = (
207208
);
208209
inputPaths = (
210+
"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
209211
);
210212
name = "Thin Binary";
211213
outputPaths = (
@@ -238,6 +240,7 @@
238240
};
239241
9740EEB61CF901F6004384FC /* Run Script */ = {
240242
isa = PBXShellScriptBuildPhase;
243+
alwaysOutOfDate = 1;
241244
buildActionMask = 2147483647;
242245
files = (
243246
);
@@ -325,7 +328,7 @@
325328
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
326329
GCC_WARN_UNUSED_FUNCTION = YES;
327330
GCC_WARN_UNUSED_VARIABLE = YES;
328-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
331+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
329332
MTL_ENABLE_DEBUG_INFO = NO;
330333
SDKROOT = iphoneos;
331334
SUPPORTED_PLATFORMS = iphoneos;
@@ -411,7 +414,7 @@
411414
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
412415
GCC_WARN_UNUSED_FUNCTION = YES;
413416
GCC_WARN_UNUSED_VARIABLE = YES;
414-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
417+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
415418
MTL_ENABLE_DEBUG_INFO = YES;
416419
ONLY_ACTIVE_ARCH = YES;
417420
SDKROOT = iphoneos;
@@ -460,7 +463,7 @@
460463
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
461464
GCC_WARN_UNUSED_FUNCTION = YES;
462465
GCC_WARN_UNUSED_VARIABLE = YES;
463-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
466+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
464467
MTL_ENABLE_DEBUG_INFO = NO;
465468
SDKROOT = iphoneos;
466469
SUPPORTED_PLATFORMS = iphoneos;

example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1300"
3+
LastUpgradeVersion = "1510"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

example/ios/Runner/Info.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,7 @@
4343
<false/>
4444
<key>CADisableMinimumFrameDurationOnPhone</key>
4545
<true/>
46+
<key>UIApplicationSupportsIndirectInputEvents</key>
47+
<true/>
4648
</dict>
4749
</plist>

0 commit comments

Comments
 (0)