-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pinning macOS version #66
Conversation
Isn't there a way to pin the hardware to x64 instead of lowering the os version all the way down until where M1 was not supported? |
Yes, we can pin the platform to x64, but some tests failed on Interestingly, all tests from the v3 branch pass on |
Hmm okay understood, but then I'd suggest we go one step back and try to understand why the tests fail. I didn't have a detailed look yet though. Did you already check what's wrong with those?
Am 1. Mai 2024 17:12:51 MESZ schrieb Vicente Russo ***@***.***>:
…> Isn't there a way to pin the hardware to x64 instead of lowering the
os version all the way down until where M1 was not supported?
Yes, we can pin the platform to x64, but some tests failed on
`macos-13` too (x64), so they will probably fail on the latest (14)
version
Interestingly, all tests from the v3 branch pass on `latest` (arm).
--
Reply to this email directly or view it on GitHub:
#66 (comment)
You are receiving this because your review was requested.
Message ID: ***@***.***>
--
Martin Clauss
Meine Contactulater Card - All meine Kontaktinfo immer aktuell und vollständig:
https://contactulater.app/me/mc
|
Doing that right now. Better fix, right? |
There seems to be an issue in packages/isar_test/lib/src/init_native.dart. If you compare v3 and main: v3 Abi.macosArm64: path.join(
rootDir,
'target',
'aarch64-apple-darwin',
'release',
binaryName,
), main Abi.macosArm64 => path.join(
rootDir,
'target',
'debug',
binaryName,
), |
Good point, thank you!
Am 2. Mai 2024 13:37:47 MESZ schrieb Frederik St-Onge ***@***.***>:
…There seems to be an issue in
packages/isar_test/lib/src/init_native.dart.
If you compare v3 and main:
v3
```dart
Abi.macosArm64: path.join(
rootDir,
'target',
'aarch64-apple-darwin',
'release',
binaryName,
),
```
main
```dart
Abi.macosArm64 => path.join(
rootDir,
'target',
'debug',
binaryName,
),
```
--
Reply to this email directly or view it on GitHub:
#66 (comment)
You are receiving this because your review was requested.
Message ID: ***@***.***>
--
Martin Clauss
Meine Contactulater Card - All meine Kontaktinfo immer aktuell und vollständig:
https://contactulater.app/me/mc
|
yep, found about that yesterday, testing with another repo. Also, integration test on linux is working. The only test failing is windows.. not sure what to do.. error message is not helpfull.. |
Can you share the error message? Maybe I can help |
Sure there we go.. Maybe we could open a specific issue for this one?
|
https://stackoverflow.com/questions/67031371/flutter-windows-cannot-build-app-error-msb8066 Also, we could add -v to this line : flutter build windows -v -t lib/isar_test.dart I also notice the version of flutter is quite old. |
Yeah, we should keep a good range for compatibility
Let me try a verbose mode Lets continue here: #68 |
Closing because pinning is not a real solution. Fix is already done for mac. Will create a PR later |
The image
macos-latest
(macos-14) is now by default M1 and tests failed