Skip to content

Commit 289c5fa

Browse files
committed
Add more distribution rust builds
Because the rust toolchains can differ immensely depending on the distribution and because we pull the latest rust toolchain in the rest of the netavark CI, we need to perform test builds by distributions. Fedora 35 already exists. Adding CentOS9 and Ubuntu 20.04.4 LTS. Signed-off-by: Brent Baude <bbaude@redhat.com>
1 parent 89030ae commit 289c5fa

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.cirrus.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,28 @@ fedora36_build_task:
166166
script:
167167
- cargo build
168168

169+
ubuntu20_build_task:
170+
alias: ubuntu20_build
171+
depends_on:
172+
- "build"
173+
container:
174+
cpu: 2
175+
memory: 2
176+
image: quay.io/libpod/ubuntu20rust
177+
script:
178+
- cargo build
179+
180+
centos9_build_task:
181+
alias: centos9_build
182+
depends_on:
183+
- "build"
184+
container:
185+
cpu: 2
186+
memory: 2
187+
image: quay.io/libpod/centos9rust
188+
script:
189+
- cargo build
190+
169191
success_task:
170192
name: "Total success"
171193
alias: success
@@ -178,6 +200,8 @@ success_task:
178200
- "integration"
179201
- "meta"
180202
- "fedora36_build"
203+
- "ubuntu20_build"
204+
- "centos9_build"
181205
env:
182206
CIRRUS_SHELL: "/bin/sh"
183207
clone_script: *noop

0 commit comments

Comments
 (0)