mirror of
https://github.com/chaos-zhu/easynode.git
synced 2026-10-06 15:13:18 +08:00
👷 监控客户端自动化构建
This commit is contained in:
@@ -28,6 +28,15 @@ jobs:
|
||||
run: npm run pkglinux:x64
|
||||
working-directory: client
|
||||
|
||||
- name: Install QEMU # 设置qemu 支持arm的虚拟环境
|
||||
run: sudo apt-get update && sudo apt-get install -y qemu qemu-user-static binfmt-support
|
||||
|
||||
- name: Setup QEMU ARM64
|
||||
run: |
|
||||
sudo update-binfmts --enable qemu-aarch64
|
||||
sudo cp /usr/bin/qemu-aarch64-static /usr/local/bin
|
||||
uname -a
|
||||
|
||||
- name: Build for Linux arm64
|
||||
run: npm run pkglinux:arm64
|
||||
working-directory: client
|
||||
@@ -46,15 +55,6 @@ jobs:
|
||||
asset_name: easynode-client-x86
|
||||
asset_content_type: application/octet-stream
|
||||
|
||||
- name: Install QEMU
|
||||
run: sudo apt-get update && sudo apt-get install -y qemu qemu-user-static binfmt-support
|
||||
|
||||
- name: Setup QEMU ARM64
|
||||
run: |
|
||||
sudo update-binfmts --enable qemu-aarch64
|
||||
sudo cp /usr/bin/qemu-aarch64-static /usr/local/bin
|
||||
uname -a
|
||||
|
||||
- name: Upload Linux ARM64 Binary to Release
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user