forked from containerd/nerdctl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
41 lines (40 loc) · 1.06 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
freebsd_task:
name: FreeBSD
timeout_in: 20m
compute_engine_instance:
image_project: freebsd-org-cloud-dev
image: family/freebsd-13-0
platform: freebsd
cpu: 2
memory: 4G
env:
NERDCTL_RUN_ARGS: --net none dougrabson/freebsd-minimal:13.1 echo "Nerdctl is up and running."
install_script:
- pkg install -y go containerd runj
test_script:
- daemon -o containerd.out containerd
- go test -v ./pkg/...
- cd cmd/nerdctl
- sudo go run . run $NERDCTL_RUN_ARGS | grep running
# TODO: run `go test -v ./cmd/...`
windows_task:
name: "Windows"
timeout_in: 20m
compute_engine_instance:
image_project: cirrus-images
image: family/windows-docker-builder
platform: windows
cpu: 2
memory: 4G
matrix:
- name: "Windows/containerd-1.6"
env:
ctrdVersion: 1.6.19
env:
CGO_ENABLED: 0
build_script:
- mkdir "C:\Windows\system32\config\systemprofile\AppData\Local\Temp\"
- powershell hack/configure-windows-ci.ps1
- refreshenv
- go install .\cmd\nerdctl\
- go test -v ./cmd/...