-
Notifications
You must be signed in to change notification settings - Fork 4
/
.cirrus.yml
59 lines (58 loc) · 1.8 KB
/
.cirrus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
check_task:
container:
image: fnichol/check-shell:latest
setup_script: apk add jq
check_script: make check
task:
name: profile-${PROFILE}-${DISTRO}-${VERSION}
env:
matrix:
- PROFILE: base
- PROFILE: headless
matrix:
- matrix:
- env:
matrix:
- DISTRO: alpine
VERSION: 3.15
- DISTRO: arch
VERSION: latest
- DISTRO: centos
VERSION: 8
- DISTRO: ubuntu
VERSION: 20.04
container:
dockerfile: support/dockerfiles/Dockerfile.$DISTRO
docker_arguments:
VERSION: $VERSION
run_script: ./bin/prep "--profile=$PROFILE"
- env:
DISTRO: macos
VERSION: 12.1
osx_instance:
image: monterey-base
run_script: ./bin/prep "--profile=$PROFILE" --skip=update-system
- env:
DISTRO: freebsd
VERSION: 13-0
USER: jdoe
# Temporary workaround for error `error: sysinfo not supported on
# this platform` seen on FreeBSD platforms, affecting Rustup
#
# References: https://github.com/rust-lang/rustup/issues/2774
RUSTUP_IO_THREADS: 1
freebsd_instance:
image_family: ${DISTRO}-${VERSION}
prepare_script: ./support/bin/freebsd-setup.sh "--user=$USER"
bash_script: pkg install --yes bash
run_script: |
sudo --preserve-env --non-interactive --set-home "--user=$USER" \
./bin/prep "--profile=$PROFILE"
- env:
DISTRO: windows
VERSION: servercore
CIRRUS_SHELL: powershell
windows_container:
dockerfile: .ci/Dockerfile.windowsservercore
os_version: 2019
run_script: .\bin\prep.ps1 -Profile "$env:PROFILE" -NoReboot