diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000000..5d62f63659 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,6 @@ +jobs: + build: + runs-on: macos-latest + strategy: + matrix: + arch: [x86_64, arm64] diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000..64d11d2b55 --- /dev/null +++ b/Makefile @@ -0,0 +1,3 @@ +ARM64_SUPPORT=true +ifeq ($(ARCH),arm64) + # Add ARM64 specific build instructions here diff --git a/README.md b/README.md index 40793a36a4..8b576c5939 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/requirements.txt b/requirements.txt index 9193dc6f0c..f2455cf614 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 @@ -57,4 +60,4 @@ termcolor==2.4.0 urllib3==2.2.2 watchdog==4.0.1 wcmatch==8.5.2 -wheel==0.43.0 \ No newline at end of file +wheel==0.43.0