opt: use macos latest host runner

This commit is contained in:
kingtous 2023-01-06 10:23:46 +08:00
parent 632a981a84
commit 1083f5cfca
2 changed files with 4 additions and 4 deletions

View file

@ -305,7 +305,8 @@ def build_flutter_deb(version, features):
def build_flutter_dmg(version, features):
if not skip_cargo:
os.system(f'cargo build --features {features} --lib --release')
# set minimum osx build target, now is 10.14, which is the same as the flutter xcode project
os.system(f'MACOSX_DEPLOYMENT_TARGET=10.14 cargo build --features {features} --lib --release')
# copy dylib
os.system(
"cp target/release/liblibrustdesk.dylib target/release/librustdesk.dylib")