diff --git a/.github/workflows/compat-test.yml b/.github/workflows/compat-test.yml new file mode 100644 index 000000000..5ae25fb73 --- /dev/null +++ b/.github/workflows/compat-test.yml @@ -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 diff --git a/.travis.yml b/.travis.yml index a3b604988..c908b341a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/scripts/ci/run-ci-tests.sh b/scripts/ci/run-ci-tests.sh index 7693e5a86..197020eb2 100755 --- a/scripts/ci/run-ci-tests.sh +++ b/scripts/ci/run-ci-tests.sh @@ -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/