Switch aarch64 builds to Cirrus CI

It seems like drone.io no longer provides free aarch64/armhf CI runs.

This switches the aarch64 CI runs to Cirrus CI. armhf CI runs have been
dropped for now as they are not directly supported.

Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
Adrian Reber 2022-10-25 17:36:58 +02:00 committed by Andrei Vagin
parent 840735aa08
commit 8a336ab226
2 changed files with 37 additions and 82 deletions

View file

@ -148,3 +148,40 @@ task:
build_script: |
make -C scripts/ci local SKIP_CI_PREP=1 CC=gcc CD_TO_TOP=1 ZDTM_IGNORE_TAINT=1 ZDTM_OPTS="-x zdtm/static/socket-raw -x zdtm/static/child_subreaper_existing_child -x zdtm/static/fifo_upon_unix_socket01 -x zdtm/static/overmount_sock -x zdtm/static/tempfs_overmounted"
task:
name: aarch64 build GCC (native)
arm_container:
image: docker.io/library/ubuntu:jammy
cpu: 4
memory: 4G
script: uname -a
build_script: |
scripts/ci/apt-install make
ln -sf /usr/include/google/protobuf/descriptor.proto images/google/protobuf/descriptor.proto
make -C scripts/ci local
task:
name: aarch64 build CLANG (native)
arm_container:
image: docker.io/library/ubuntu:jammy
cpu: 4
memory: 4G
script: uname -a
build_script: |
scripts/ci/apt-install make
ln -sf /usr/include/google/protobuf/descriptor.proto images/google/protobuf/descriptor.proto
make -C scripts/ci local CLANG=1
task:
name: aarch64 Fedora Rawhide
arm_container:
image: registry.fedoraproject.org/fedora:rawhide
cpu: 4
memory: 4G
script: uname -a
build_script: |
scripts/ci/prepare-for-fedora-rawhide.sh
ln -sf /usr/include/google/protobuf/descriptor.proto images/google/protobuf/descriptor.proto
make -C scripts/ci/ local CC=gcc SKIP_CI_PREP=1 SKIP_CI_TEST=1 CD_TO_TOP=1
make -C test/zdtm -j 4

View file

@ -1,82 +0,0 @@
---
kind: pipeline
type: docker
name: aarch64 build GCC (native)
platform:
os: linux
arch: arm64
steps:
- name: build
image: ubuntu:focal
commands:
- scripts/ci/apt-install make
- make -C scripts/ci local
---
kind: pipeline
type: docker
name: aarch64 build CLANG (native)
platform:
os: linux
arch: arm64
steps:
- name: build
image: ubuntu:focal
commands:
- scripts/ci/apt-install make
- make -C scripts/ci local CLANG=1
---
kind: pipeline
type: docker
name: armhf build GCC (native)
platform:
os: linux
arch: arm
steps:
- name: build
# At the time of setting up focal did not work
image: ubuntu:bionic
commands:
- scripts/ci/apt-install make
- make -C scripts/ci local
---
kind: pipeline
type: docker
name: armhf build CLANG (native)
platform:
os: linux
arch: arm
steps:
- name: build
# At the time of setting up focal did not work
image: ubuntu:bionic
commands:
- scripts/ci/apt-install make
- make -C scripts/ci local CLANG=1
---
kind: pipeline
type: docker
name: aarch64 Fedora Rawhide
platform:
os: linux
arch: arm64
steps:
- name: build
image: registry.fedoraproject.org/fedora:rawhide
commands:
- scripts/ci/prepare-for-fedora-rawhide.sh
- make -C scripts/ci/ local CC=gcc SKIP_CI_PREP=1 SKIP_CI_TEST=1 CD_TO_TOP=1
- make -C test/zdtm -j 4