Skip to content

Commit

Permalink
chore: another attempt for aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
kainlite committed Jan 10, 2025
1 parent 30ab5c3 commit bd0bfa1
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,17 @@ jobs:
sudo apt-get update
sudo apt-get install -y gcc-aarch64-linux-gnu
- name: Install cross
if: matrix.target == 'aarch64-unknown-linux-gnu'
run: cargo install cross

- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --release --target ${{ matrix.target }}
run: |
if [ "${{ matrix.target }}" = "aarch64-unknown-linux-gnu" ]; then
cross build --release --target ${{ matrix.target }}
else
cargo build --release --target ${{ matrix.target }}
fi
- name: Prepare binary
shell: bash
Expand Down

0 comments on commit bd0bfa1

Please sign in to comment.