mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-29 13:28:27 +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:
parent
ed7cefe217
commit
f4c5937cac
17
.drone.yml
17
.drone.yml
@ -63,3 +63,20 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- scripts/ci/apt-install make
|
- scripts/ci/apt-install make
|
||||||
- make -C scripts/ci local CLANG=1
|
- 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
|
||||||
|
12
.github/workflows/fedora-rawhide-test.yml
vendored
Normal file
12
.github/workflows/fedora-rawhide-test.yml
vendored
Normal 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
|
@ -33,14 +33,6 @@ jobs:
|
|||||||
group: edge
|
group: edge
|
||||||
virt: vm
|
virt: vm
|
||||||
dist: bionic
|
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
|
- os: linux
|
||||||
arch: amd64
|
arch: amd64
|
||||||
env: TR_ARCH=docker-test
|
env: TR_ARCH=docker-test
|
||||||
|
@ -138,6 +138,10 @@ print_env
|
|||||||
|
|
||||||
ci_prep
|
ci_prep
|
||||||
|
|
||||||
|
if [ "${CD_TO_TOP}" = "1" ]; then
|
||||||
|
cd ../../
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$CLANG" = "1" ]; then
|
if [ "$CLANG" = "1" ]; then
|
||||||
# Needed for clang on Circle CI
|
# Needed for clang on Circle CI
|
||||||
LDFLAGS="$LDFLAGS -Wl,-z,now"
|
LDFLAGS="$LDFLAGS -Wl,-z,now"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user