Remove Apple Silicon workarounds from plugin lint test (#111432)

This commit is contained in:
Jenn Magder 2022-09-20 14:12:39 -07:00 committed by GitHub
parent 06b87fba64
commit 60c6cbf0ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,13 +31,9 @@ Future<void> main() async {
'lib', 'lib',
'lint', 'lint',
iosintegrationTestPodspec, iosintegrationTestPodspec,
'--configuration=Debug', // Release targets unsupported arm64 simulators. Use Debug to only build against targeted x86_64 simulator devices.
'--use-libraries', '--use-libraries',
'--verbose', '--verbose',
], ],
environment: <String, String>{
'LANG': 'en_US.UTF-8',
},
); );
final String macosintegrationTestPodspec = path.join(integrationTestPackage, 'integration_test_macos', 'macos', 'integration_test_macos.podspec'); final String macosintegrationTestPodspec = path.join(integrationTestPackage, 'integration_test_macos', 'macos', 'integration_test_macos.podspec');
@ -47,12 +43,8 @@ Future<void> main() async {
'lib', 'lib',
'lint', 'lint',
macosintegrationTestPodspec, macosintegrationTestPodspec,
'--configuration=Debug', // Release targets unsupported arm64 Apple Silicon. Use Debug to only build against targeted x86_64 macOS.
'--verbose', '--verbose',
], ],
environment: <String, String>{
'LANG': 'en_US.UTF-8',
},
); );
}); });
@ -84,13 +76,9 @@ Future<void> main() async {
'lib', 'lib',
'lint', 'lint',
objcPodspecPath, objcPodspecPath,
'--configuration=Debug', // Release targets unsupported arm64 simulators. Use Debug to only build against targeted x86_64 simulator devices.
'--allow-warnings', '--allow-warnings',
'--verbose', '--verbose',
], ],
environment: <String, String>{
'LANG': 'en_US.UTF-8',
},
); );
}); });
@ -103,14 +91,10 @@ Future<void> main() async {
'lib', 'lib',
'lint', 'lint',
objcPodspecPath, objcPodspecPath,
'--configuration=Debug', // Release targets unsupported arm64 simulators. Use Debug to only build against targeted x86_64 simulator devices.
'--allow-warnings', '--allow-warnings',
'--use-libraries', '--use-libraries',
'--verbose', '--verbose',
], ],
environment: <String, String>{
'LANG': 'en_US.UTF-8',
},
); );
}); });
@ -141,14 +125,10 @@ Future<void> main() async {
<String>[ <String>[
'lib', 'lib',
'lint', 'lint',
'--configuration=Debug', // Release targets unsupported arm64 simulators. Use Debug to only build against targeted x86_64 simulator devices.
swiftPodspecPath, swiftPodspecPath,
'--allow-warnings', '--allow-warnings',
'--verbose', '--verbose',
], ],
environment: <String, String>{
'LANG': 'en_US.UTF-8',
},
); );
}); });
@ -161,14 +141,10 @@ Future<void> main() async {
'lib', 'lib',
'lint', 'lint',
swiftPodspecPath, swiftPodspecPath,
'--configuration=Debug', // Release targets unsupported arm64 simulators. Use Debug to only build against targeted x86_64 simulator devices.
'--allow-warnings', '--allow-warnings',
'--use-libraries', '--use-libraries',
'--verbose', '--verbose',
], ],
environment: <String, String>{
'LANG': 'en_US.UTF-8',
},
); );
}); });
@ -185,11 +161,6 @@ Future<void> main() async {
'--allow-warnings', '--allow-warnings',
'--verbose', '--verbose',
], ],
environment: <String, String>{
'LANG': 'en_US.UTF-8',
},
// TODO(jmagman): Flutter cannot build against ARM https://github.com/flutter/flutter/issues/69221
canFail: true,
); );
}); });
@ -206,11 +177,6 @@ Future<void> main() async {
'--use-libraries', '--use-libraries',
'--verbose', '--verbose',
], ],
environment: <String, String>{
'LANG': 'en_US.UTF-8',
},
// TODO(jmagman): Flutter cannot build against ARM https://github.com/flutter/flutter/issues/69221
canFail: true,
); );
}); });