2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 09:58:09 +00:00

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>
This commit is contained in:
Adrian Reber 2021-01-31 17:41:09 +00:00 committed by Andrei Vagin
parent ed7cefe217
commit f4c5937cac
4 changed files with 33 additions and 8 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"