ci: move compat tests to Github Actions

Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
Adrian Reber 2021-02-01 11:06:07 +00:00 committed by Andrei Vagin
parent 246c37ad3a
commit 37c09f8904
3 changed files with 17 additions and 4 deletions

16
.github/workflows/compat-test.yml vendored Normal file
View 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

View file

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

View file

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