Skip to content

Commit f4c5937

Browse files
Adrian Reberavagin
authored andcommitted
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 <areber@redhat.com>
1 parent ed7cefe commit f4c5937

4 files changed

Lines changed: 33 additions & 8 deletions

File tree

‎.drone.yml‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,20 @@ steps:
6363
commands:
6464
- scripts/ci/apt-install make
6565
- make -C scripts/ci local CLANG=1
66+
67+
---
68+
kind: pipeline
69+
type: docker
70+
name: aarch64 Fedora Rawhide
71+
72+
platform:
73+
os: linux
74+
arch: arm64
75+
76+
steps:
77+
- name: build
78+
image: registry.fedoraproject.org/fedora:rawhide
79+
commands:
80+
- scripts/ci/prepare-for-fedora-rawhide.sh
81+
- make -C scripts/ci/ local CC=gcc SKIP_CI_PREP=1 SKIP_CI_TEST=1 CD_TO_TOP=1
82+
- make -C test/zdtm -j 4
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Fedora Rawhide Test
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-20.04
8+
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: Run Fedora Rawhide Test
12+
run: sudo -E make -C scripts/ci fedora-rawhide

‎.travis.yml‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,6 @@ jobs:
3333
group: edge
3434
virt: vm
3535
dist: bionic
36-
- os: linux
37-
arch: arm64
38-
env: TR_ARCH=fedora-rawhide
39-
dist: bionic
40-
- os: linux
41-
arch: amd64
42-
env: TR_ARCH=fedora-rawhide
43-
dist: bionic
4436
- os: linux
4537
arch: amd64
4638
env: TR_ARCH=docker-test

‎scripts/ci/run-ci-tests.sh‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,10 @@ print_env
138138

139139
ci_prep
140140

141+
if [ "${CD_TO_TOP}" = "1" ]; then
142+
cd ../../
143+
fi
144+
141145
if [ "$CLANG" = "1" ]; then
142146
# Needed for clang on Circle CI
143147
LDFLAGS="$LDFLAGS -Wl,-z,now"

0 commit comments

Comments
 (0)