Skip to content

Commit 4acf9ee

Browse files
committed
ci: use arm64 linux runner to build rust lib
1 parent 8df4c32 commit 4acf9ee

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/release-lib.yml

+2-10
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232
fail-fast: false
3333
matrix:
3434
include:
35-
- os: ubuntu-latest
35+
- os: ubuntu-22.04
3636
target: x86_64-unknown-linux-musl
37-
- os: ubuntu-latest
37+
- os: ubuntu-22.04-arm
3838
target: aarch64-unknown-linux-musl
3939
- os: macos-latest
4040
target: x86_64-apple-darwin
@@ -70,14 +70,6 @@ jobs:
7070
sudo apt-get update
7171
sudo apt-get install -y musl-tools
7272
73-
- name: prep for arm64 Linux
74-
if: matrix.target == 'aarch64-unknown-linux-musl'
75-
run: |
76-
sudo apt-get update
77-
sudo apt-get install -y gcc-aarch64-linux-gnu
78-
echo 'CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc' >>"$GITHUB_ENV"
79-
echo 'CC=aarch64-linux-gnu-gcc' >>"$GITHUB_ENV"
80-
8173
- name: Set up R
8274
if: runner.os != 'Windows'
8375
uses: r-lib/actions/setup-r@v2

0 commit comments

Comments
 (0)