Merge pull request #9423 from id/ci-build-macos-arm64-release-packages

ci: build macos release packages for apple silicon (arm64)
This commit is contained in:
Zaiming (Stone) Shi 2022-11-26 15:39:10 +01:00 committed by GitHub
commit 8235a091ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 5 deletions

View File

@ -74,7 +74,7 @@ jobs:
esac esac
;; ;;
esac esac
echo "::set-output name=BUILD_PROFILE::$PROFILE" echo "BUILD_PROFILE=$PROFILE" >> $GITHUB_OUTPUT
- name: get_all_deps - name: get_all_deps
run: | run: |
make -C source deps-all make -C source deps-all
@ -143,8 +143,10 @@ jobs:
- 24.3.4.2-1 - 24.3.4.2-1
os: os:
- macos-11 - macos-11
- macos-12-arm64
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: emqx/self-hosted-cleanup-action@v1.0.3
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v3
with: with:
name: source name: source
@ -152,11 +154,8 @@ jobs:
- name: unzip source code - name: unzip source code
run: | run: |
ln -s . source ln -s . source
unzip -q source.zip unzip -o -q source.zip
rm source source.zip rm source source.zip
- name: prepare
run: |
git config --global credential.helper store
- uses: ./.github/actions/package-macos - uses: ./.github/actions/package-macos
with: with:
profile: ${{ matrix.profile }} profile: ${{ matrix.profile }}

View File

@ -4,4 +4,6 @@
- Improve the CLI to avoid waste atom table when typing erros [#9416](https://github.com/emqx/emqx/pull/9416). - Improve the CLI to avoid waste atom table when typing erros [#9416](https://github.com/emqx/emqx/pull/9416).
- Start building MacOS packages for Apple Silicon hadrdware [#9423](https://github.com/emqx/emqx/pull/9423).
## Bug fixes ## Bug fixes

View File

@ -6,3 +6,4 @@
- 优化命令行实现, 避免输入错误指令时, 产生不必要的原子表消耗 [#9416](https://github.com/emqx/emqx/pull/9416)。 - 优化命令行实现, 避免输入错误指令时, 产生不必要的原子表消耗 [#9416](https://github.com/emqx/emqx/pull/9416)。
- 支持在 Apple Silicon 架构下编译苹果系统的发行版本 [#9423](https://github.com/emqx/emqx/pull/9423)。