mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: seperating env for mac test depending upon archs (#2265)
This commit is contained in:
parent
b451303156
commit
43a8335fd4
@ -205,12 +205,17 @@ script = [
|
||||
]
|
||||
script_runner = "@duckscript"
|
||||
|
||||
[env.test-macos]
|
||||
[env.test-macos-x86_64]
|
||||
TEST_CRATE_TYPE = "cdylib"
|
||||
TEST_LIB_EXT = "dylib"
|
||||
# For the moment, the DynamicLibrary only supports open x86_64 architectures binary.
|
||||
TEST_COMPILE_TARGET = "x86_64-apple-darwin"
|
||||
|
||||
[env.test-macos-arm64]
|
||||
TEST_CRATE_TYPE = "cdylib"
|
||||
TEST_LIB_EXT = "dylib"
|
||||
TEST_COMPILE_TARGET = "aarch64-apple-darwin"
|
||||
|
||||
[env.test-linux]
|
||||
TEST_CRATE_TYPE = "cdylib"
|
||||
TEST_LIB_EXT = "so"
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
[tasks.dart_unit_test]
|
||||
script = '''
|
||||
cargo make --profile test-macos run_dart_unit_test
|
||||
cargo make --profile test-macos-$(uname -m) run_dart_unit_test
|
||||
'''
|
||||
script_runner = "@shell"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user