File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change 6666 - target : x86_64-pc-windows-msvc
6767 arch : x64
6868 os : windows
69- - target : aarch64-unknown-linux-gnu
70- arch : arm64
71- os : linux
7269 - target : aarch64-apple-darwin
7370 arch : arm64
7471 os : macos
8279 with :
8380 targets : ${{ matrix.target }}
8481
85- - name : Install cross-compilation tools (Linux ARM64)
86- if : matrix.target == 'aarch64-unknown-linux-gnu'
87- run : |
88- sudo apt-get update
89- sudo apt-get install -y gcc-aarch64-linux-gnu
90- rustup target add aarch64-unknown-linux-gnu
82+
9183
9284 - name : Cache cargo registry
9385 uses : actions/cache@v4
10193 ${{ runner.os }}-${{ matrix.target }}-cargo-
10294
10395 - name : Build release binary
104- env :
105- CC : ${{ matrix.target == 'aarch64-unknown-linux-gnu' && 'aarch64-linux-gnu-gcc' || '' }}
10696 run : |
10797 cargo build --release --target ${{ matrix.target }}
10898
You can’t perform that action at this time.
0 commit comments