👷 监控客户端自动化构建
This commit is contained in:
parent
049f991cd8
commit
2ad1137c99
18
.github/workflows/client-builder.yml
vendored
18
.github/workflows/client-builder.yml
vendored
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user