Skip to content

Commit

Permalink
ci: use arm64 linux runner to build rust lib
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi committed Jan 19, 2025
1 parent 8df4c32 commit 4acf9ee
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/release-lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jobs:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
- os: ubuntu-22.04
target: x86_64-unknown-linux-musl
- os: ubuntu-latest
- os: ubuntu-22.04-arm
target: aarch64-unknown-linux-musl
- os: macos-latest
target: x86_64-apple-darwin
Expand Down Expand Up @@ -70,14 +70,6 @@ jobs:
sudo apt-get update
sudo apt-get install -y musl-tools
- name: prep for arm64 Linux
if: matrix.target == 'aarch64-unknown-linux-musl'
run: |
sudo apt-get update
sudo apt-get install -y gcc-aarch64-linux-gnu
echo 'CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc' >>"$GITHUB_ENV"
echo 'CC=aarch64-linux-gnu-gcc' >>"$GITHUB_ENV"
- name: Set up R
if: runner.os != 'Windows'
uses: r-lib/actions/setup-r@v2
Expand Down

0 comments on commit 4acf9ee

Please sign in to comment.