Commit c3b9d45 authored Dec 27, 2024 · 9 / 9 · Verified
1 parent d4121e8 commit c3b9d45 Copy full SHA for c3b9d45
File tree 1 file changed +16
-3
lines changed
1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change 49
49
fail-fast : false
50
50
matrix :
51
51
include :
52
- - os : ubuntu-20 .04
52
+ - os : ubuntu-22 .04
53
53
rust : stable
54
54
target : x86_64-unknown-linux-musl
55
+ - os : ubuntu-22.04
56
+ rust : stable
57
+ target : aarch64-unknown-linux-musl
55
58
- os : macos-latest
56
59
rust : stable
57
60
target : x86_64-apple-darwin
@@ -68,10 +71,20 @@ jobs:
68
71
with :
69
72
fetch-depth : 1
70
73
- name : Install packages (Ubuntu)
71
- if : matrix.os == 'ubuntu-20 .04'
74
+ if : matrix.os == 'ubuntu-22 .04'
72
75
run : |
76
+ sudo dpkg --add-architecture arm64
77
+ cat <<EOL | sudo tee "/etc/apt/sources.list"
78
+ deb [arch=amd64] http://azure.archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
79
+ deb [arch=amd64] http://azure.archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
80
+ deb [arch=amd64] http://azure.archive.ubuntu.com/ubuntu jammy-security main restricted universe multiverse
81
+ deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy main restricted universe multiverse
82
+ deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy-updates main restricted universe multiverse
83
+ deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy-security main restricted universe multiverse
84
+ EOL
73
85
sudo apt-get update
74
- sudo apt-get install -y --no-install-recommends xz-utils liblz4-tool musl-tools
86
+ sudo apt-get install -y --no-install-recommends xz-utils liblz4-tool musl-tools musl-dev musl-dev:arm64
87
+ echo "RUSTFLAGS=-Clinker=rust-lld" >> $GITHUB_ENV
75
88
- name : Install Rust
76
89
uses : actions-rs/toolchain@v1
77
90
with :
You can’t perform that action at this time.
0 commit comments