forked from ovn-org/ovn
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.cirrus.yml
74 lines (63 loc) · 1.88 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
compute_engine_instance:
image_project: ubuntu-os-cloud
image: family/ubuntu-2404-lts-arm64
architecture: arm64
platform: linux
memory: 4G
# Run separate task for the image build, so it's running only once outside
# the test matrix.
build_image_task:
install_dependencies_script:
- sudo apt update
- sudo apt install -y podman make
build_container_script:
- cd utilities/containers
- make ubuntu
- podman save -o /tmp/image.tar --format oci-archive ovn-org/ovn-tests:ubuntu
upload_image_script:
- curl -s -X POST -T /tmp/image.tar http://$CIRRUS_HTTP_CACHE_HOST/${CIRRUS_CHANGE_IN_REPO}
arm_unit_tests_task:
depends_on:
- build_image
env:
CIRRUS_CLONE_SUBMODULES: true
PATH: ${HOME}/bin:${HOME}/.local/bin:${PATH}
RECHECK: yes
IMAGE_NAME: ovn-org/ovn-tests:ubuntu
matrix:
- CC: gcc
TESTSUITE: test
TEST_RANGE: -300
- CC: gcc
TESTSUITE: test
TEST_RANGE: 301-600
- CC: gcc
TESTSUITE: test
TEST_RANGE: 601-
UNSTABLE: yes
- CC: clang
TESTSUITE: test
TEST_RANGE: -300
- CC: clang
TESTSUITE: test
TEST_RANGE: 301-600
- CC: clang
TESTSUITE: test
TEST_RANGE: 601-
UNSTABLE: yes
name: ARM64 ${CC} ${TESTSUITE} ${TEST_RANGE}
install_dependencies_script:
- sudo apt update
- sudo apt install -y podman
# XXX This should be removed when native crun >=1.9.1
update_crun_script:
- crun --version
- curl -L "https://github.com/containers/crun/releases/download/1.14.1/crun-1.14.1-linux-arm64" -o /usr/bin/crun
- chmod +x /usr/bin/crun
download_cache_script:
- curl http://$CIRRUS_HTTP_CACHE_HOST/${CIRRUS_CHANGE_IN_REPO} -o /tmp/image.tar
load_image_script:
- podman load -i /tmp/image.tar
- rm -rf /tmp/image.tar
build_script:
- ./.ci/ci.sh --archive-logs