Skip to content

Commit

Permalink
Try to build aarch64-unknown-linux-musl
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcer committed Sep 21, 2024
1 parent 88b6dbb commit 6d369a8
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/release-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
fail-fast: false
matrix:
target:
- x86_64-unknown-freebsd
- aarch64-unknown-linux-musl
extra: ['bin']
include:
- target: x86_64-unknown-freebsd
- target: aarch64-unknown-linux-musl
os: ubuntu-22.04

runs-on: ${{matrix.os}}
Expand All @@ -52,9 +52,8 @@ jobs:

- name: Release Nu Binary
id: nu
run: docker container run --rm
--volume ${{ github.workspace }}:/src
--user $(id --user):$(id --group)
--env OPENSSL_DIR=/usr/local/freebsd-13.2/usr
unixgeek2/rust-x86_64-freebsd:latest build --release --target x86_64-unknown-freebsd
run: |
docker pull messense/rust-musl-cross:aarch64-musl
alias rust-musl-builder='docker run --rm -it -v "$(pwd)":/home/rust/src messense/rust-musl-cross:aarch64-musl'
rust-musl-builder cargo build --all --features=static-link-openssl

0 comments on commit 6d369a8

Please sign in to comment.