Skip to content

Commit

Permalink
Merge pull request #131 from arkedge/release-aarch64-linux-musl
Browse files Browse the repository at this point in the history
Release aarch64-unknown-linux-musl binaries
  • Loading branch information
sksat authored Nov 19, 2024
2 parents c4b4939 + 6632d98 commit f4d0596
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# for local testing
[patch.crates-io]
kble-socket = { path = "./kble-socket" }

# cross compile
[target.aarch64-unknown-linux-musl]
linker = "aarch64-linux-gnu-gcc"
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
matrix:
target:
- x86_64-unknown-linux-musl
- aarch64-unknown-linux-musl

steps:
- uses: actions/[email protected]
Expand All @@ -32,6 +33,11 @@ jobs:
sudo apt-get update
sudo apt-get install -y musl-tools
- name: install aarch64 linker
if: matrix.target == 'aarch64-unknown-linux-musl'
run: |
sudo apt-get install -y gcc-aarch64-linux-gnu
- name: Get Rust toolchain
id: toolchain
working-directory: .
Expand Down

0 comments on commit f4d0596

Please sign in to comment.