Skip to content
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

GitAuto: support macos arm 的部署方式 #5912

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
jobs:
build:
runs-on: macos-latest
strategy:
matrix:
arch: [x86_64, arm64]
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ARM64_SUPPORT=true
ifeq ($(ARCH),arm64)
# Add ARM64 specific build instructions here
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# macOS ARM Deployment

This application now supports deployment on macOS ARM architectures. Please ensure that you have the latest dependencies installed by running:

```bash
# DaoCloud Enterprise 5.0 Documentation

[![Contributors](https://img.shields.io/github/contributors/daocloud/daocloud-docs?color=purple)](CONTRIBUTING.md)
Expand Down
5 changes: 4 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Ensure all dependencies are compatible with macOS ARM
numpy>=1.21.0; platform_machine=='arm64'
scipy>=1.7.0; platform_machine=='arm64'
Babel==2.15.0
beautifulsoup4==4.12.3
bracex==2.4
Expand Down Expand Up @@ -57,4 +60,4 @@ termcolor==2.4.0
urllib3==2.2.2
watchdog==4.0.1
wcmatch==8.5.2
wheel==0.43.0
wheel==0.43.0
Loading