chore: Support CI build universal macOS package (#3124)

* fix: macos release build

* feat: support build arm64 macOS package on CI

* feat: support build arm64 macOS package on CI
This commit is contained in:
Lucas.Xu
2023-08-06 15:06:43 +07:00
committed by GitHub
parent 63a12a1d2b
commit f724185f1c
5 changed files with 135 additions and 15 deletions

View File

@ -24,4 +24,4 @@ cp -rf rust-lib/target/libdart_ffi.a \
echo '🚀 ---------------------------------------------------'
echo '🚀 building the flutter application for macOS'
flutter build macos --release
cargo make --profile production-mac-universal appflowy-macos-unviersal

View File

@ -13,6 +13,15 @@ run_task = { name = [
] }
script_runner = "@shell"
[tasks.appflowy-macos-universal]
run_task = { name = [
"code_generation",
"set-app-version",
"flutter-build",
"copy-to-product",
] }
script_runner = "@shell"
[tasks.appflowy-windows]
dependencies = ["appflowy-core-release"]
run_task = { name = [