From 83ed54b5498a012da0082057245a8bb959ec34a7 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Tue, 25 Oct 2022 17:36:58 +0200 Subject: 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 --- .cirrus.yml | 37 ++++++++++++++++++++++++++++ .drone.yml | 82 ------------------------------------------------------------- 2 files changed, 37 insertions(+), 82 deletions(-) delete mode 100644 .drone.yml diff --git a/.cirrus.yml b/.cirrus.yml index bad3a12b4..dbfb899ff 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -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 diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 07eb8be65..000000000 --- a/.drone.yml +++ /dev/null @@ -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 -- cgit v1.2.3