Skip to content

Commit

Permalink
Added extra config steps for arm linux
Browse files Browse the repository at this point in the history
  • Loading branch information
alexroan committed Jun 5, 2024
1 parent b967f1b commit d76d254
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,12 @@ jobs:

- name: Install Dependencies
if: matrix.target == 'aarch64-unknown-linux-gnu'
run: sudo apt-get update && sudo apt-get install -y gcc-aarch64-linux-gnu
run: |
sudo apt-get update && sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
mkdir -p .cargo
echo '[target.aarch64-unknown-linux-gnu]' > .cargo/config.toml
echo 'linker = "aarch64-linux-gnu-gcc"' >> .cargo/config.toml
rustup target add ${{ matrix.target }}
- name: Build Binary
run: cargo build --verbose --locked --release --target ${{ matrix.target }}
Expand Down

0 comments on commit d76d254

Please sign in to comment.