mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-11 10:26:19 +02:00
feat: initial macos ci
This commit is contained in:
parent
fbd8b6a9cd
commit
cea402ffcc
2 changed files with 89 additions and 1 deletions
10
build.py
10
build.py
|
@ -263,6 +263,14 @@ def build_flutter_deb(version, features):
|
|||
os.chdir("..")
|
||||
|
||||
|
||||
def build_flutter_dmg(version, features):
|
||||
os.system(f'cargo build --features {features} --lib --release')
|
||||
ffi_bindgen_function_refactor()
|
||||
os.chdir('flutter')
|
||||
os.system('flutter build macos --release')
|
||||
# TODO: pass
|
||||
|
||||
|
||||
def build_flutter_arch_manjaro(version, features):
|
||||
os.system(f'cargo build --features {features} --lib --release')
|
||||
ffi_bindgen_function_refactor()
|
||||
|
@ -372,7 +380,7 @@ def main():
|
|||
os.system('cargo bundle --release --features ' + features)
|
||||
if flutter:
|
||||
if osx:
|
||||
# todo: OSX build
|
||||
build_flutter_dmg(version, features)
|
||||
pass
|
||||
else:
|
||||
os.system(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue