Browse Source

Add rustup target for aarch64-apple-darwin for cross compilation release

tags/v0.2.4-rc2
haixuanTao 2 years ago
parent
commit
b714cab46c
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      .github/workflows/release.yml

+ 4
- 1
.github/workflows/release.yml View File

@@ -127,11 +127,14 @@ jobs:
asset_name: dora-${{ github.ref_name }}-aarch64-${{ runner.os }}.zip
asset_content_type: application/zip

- name: "Add macOS ARM64 toolchains"
if: runner.os == 'macOS'
run: rustup target add aarch64-apple-darwin

- name: "Build macOS ARM64"
if: runner.os == 'macOS'
uses: actions-rs/cargo@v1
with:
use-cross: true
command: build
args: --release --target aarch64-apple-darwin -p dora-coordinator -p dora-cli -p dora-daemon



Loading…
Cancel
Save