mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
ci: move compat tests to Github Actions
Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
parent
246c37ad3a
commit
37c09f8904
3 changed files with 17 additions and 4 deletions
16
.github/workflows/compat-test.yml
vendored
Normal file
16
.github/workflows/compat-test.yml
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
name: Compat Tests
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-20.04
|
||||
strategy:
|
||||
matrix:
|
||||
target: [GCC, CLANG]
|
||||
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Run Compat Tests (${{ matrix.target }})
|
||||
run: sudo -E make -C scripts/ci local COMPAT_TEST=y ${{ matrix.target }}=1
|
||||
|
|
@ -4,9 +4,6 @@ dist: bionic
|
|||
cache: ccache
|
||||
services:
|
||||
- docker
|
||||
env:
|
||||
- TR_ARCH=local COMPAT_TEST=y
|
||||
- TR_ARCH=local CLANG=1 COMPAT_TEST=y
|
||||
jobs:
|
||||
include:
|
||||
- os: linux
|
||||
|
|
@ -46,7 +43,6 @@ jobs:
|
|||
allow_failures:
|
||||
- env: TR_ARCH=docker-test
|
||||
- env: TR_ARCH=docker-test DIST=xenial
|
||||
- env: TR_ARCH=fedora-rawhide
|
||||
- env: TR_ARCH=local GCOV=1
|
||||
script:
|
||||
- sudo make CCACHE=1 -C scripts/ci $TR_ARCH
|
||||
|
|
|
|||
|
|
@ -188,6 +188,7 @@ if [ "${COMPAT_TEST}x" = "yx" ] ; then
|
|||
done
|
||||
# shellcheck disable=SC2086
|
||||
apt-get remove $INCOMPATIBLE_LIBS
|
||||
dpkg --add-architecture i386
|
||||
scripts/ci/apt-install "$IA32_PKGS"
|
||||
mkdir -p /usr/lib/x86_64-linux-gnu/
|
||||
mv "$REFUGE"/* /usr/lib/x86_64-linux-gnu/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue