From f4c5937cac31f989494e9aafd18182bd44bf4c5d Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Sun, 31 Jan 2021 17:41:09 +0000 Subject: [PATCH] ci: move Fedora Rawhide based tests away from Travis This moves Fedora Rawhide based tests away from Travis. To Github Actions for x86_64 and to Drone for aarch64. Signed-off-by: Adrian Reber --- .drone.yml | 17 +++++++++++++++++ .github/workflows/fedora-rawhide-test.yml | 12 ++++++++++++ .travis.yml | 8 -------- scripts/ci/run-ci-tests.sh | 4 ++++ 4 files changed, 33 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/fedora-rawhide-test.yml diff --git a/.drone.yml b/.drone.yml index d21b6edbb..07eb8be65 100644 --- a/.drone.yml +++ b/.drone.yml @@ -63,3 +63,20 @@ steps: 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 diff --git a/.github/workflows/fedora-rawhide-test.yml b/.github/workflows/fedora-rawhide-test.yml new file mode 100644 index 000000000..2ff8c1371 --- /dev/null +++ b/.github/workflows/fedora-rawhide-test.yml @@ -0,0 +1,12 @@ +name: Fedora Rawhide Test + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-20.04 + + steps: + - uses: actions/checkout@v2 + - name: Run Fedora Rawhide Test + run: sudo -E make -C scripts/ci fedora-rawhide diff --git a/.travis.yml b/.travis.yml index 10437aa4e..f51bd0807 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,14 +33,6 @@ jobs: group: edge virt: vm dist: bionic - - os: linux - arch: arm64 - env: TR_ARCH=fedora-rawhide - dist: bionic - - os: linux - arch: amd64 - env: TR_ARCH=fedora-rawhide - dist: bionic - os: linux arch: amd64 env: TR_ARCH=docker-test diff --git a/scripts/ci/run-ci-tests.sh b/scripts/ci/run-ci-tests.sh index c64fa1190..7693e5a86 100755 --- a/scripts/ci/run-ci-tests.sh +++ b/scripts/ci/run-ci-tests.sh @@ -138,6 +138,10 @@ print_env ci_prep +if [ "${CD_TO_TOP}" = "1" ]; then + cd ../../ +fi + if [ "$CLANG" = "1" ]; then # Needed for clang on Circle CI LDFLAGS="$LDFLAGS -Wl,-z,now"