@@ -178,24 +178,27 @@ jobs:
178
178
uses : Swatinem/rust-cache@v2
179
179
- name : Add new apt sources that support armhf
180
180
run : |
181
- sudo tee /etc/apt/sources.list << EOF
182
- deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy main restricted
183
- deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted
184
- deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy universe
185
- deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-updates universe
186
- deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy multiverse
187
- deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-updates multiverse
188
- deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
189
- deb [arch=amd64] http://security.ubuntu.com/ubuntu/ jammy-security main restricted
190
- deb [arch=amd64] http://security.ubuntu.com/ubuntu/ jammy-security universe
191
- deb [arch=amd64] http://security.ubuntu.com/ubuntu/ jammy-security multiverse
192
- deb [arch=armhf] http://ports.ubuntu.com/ jammy main restricted
193
- deb [arch=armhf] http://ports.ubuntu.com/ jammy-updates main restricted
194
- deb [arch=armhf] http://ports.ubuntu.com/ jammy universe
195
- deb [arch=armhf] http://ports.ubuntu.com/ jammy-updates universe
196
- deb [arch=armhf] http://ports.ubuntu.com/ jammy multiverse
197
- deb [arch=armhf] http://ports.ubuntu.com/ jammy-updates multiverse
198
- deb [arch=armhf] http://ports.ubuntu.com/ jammy-backports main restricted universe multiverse
181
+ sudo tee /etc/apt/sources.list.d/ubuntu.sources << EOF
182
+ Types: deb
183
+ URIs: http://archive.ubuntu.com/ubuntu/
184
+ Suites: noble noble-updates noble-backports
185
+ Components: main universe restricted multiverse
186
+ Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
187
+ Architectures: amd64
188
+
189
+ Types: deb
190
+ URIs: http://security.ubuntu.com/ubuntu/
191
+ Suites: noble-security
192
+ Components: main universe restricted multiverse
193
+ Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
194
+ Architectures: amd64
195
+
196
+ Types: deb
197
+ URIs: http://ports.ubuntu.com/
198
+ Suites: noble noble-updates noble-backports
199
+ Components: main universe restricted multiverse
200
+ Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
201
+ Architectures: armhf
199
202
EOF
200
203
- name : Enable ARM cross-build capabilities
201
204
run : sudo dpkg --add-architecture armhf
0 commit comments