2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-28 21:07:43 +00:00

tests: move cross compilation to github actions

This moves the cross compilation tests to github actions, to slightly
reduce the number of Travis tests and run them in parallel on github
actions.

Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
Adrian Reber 2020-05-13 17:57:03 +02:00 committed by Andrei Vagin
parent 8452be93cf
commit 00b8257d9f
2 changed files with 23 additions and 16 deletions

23
.github/workflows/cross-compile.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: Cross Compile Tests
on:
push:
branches: [ criu-dev ]
pull_request:
branches: [ criu-dev ]
schedule:
- cron: '55 5 * * *'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
target: [armv7-cross, aarch64-cross, ppc64-cross, mips64el-cross]
steps:
- uses: actions/checkout@v2
- name: Run Cross Compilation Targets
run: >
sudo make -C scripts/travis ${{ matrix.target }}

View File

@ -82,23 +82,7 @@ jobs:
arch: amd64
env: TR_ARCH=fedora-asan
dist: bionic
- os: linux
arch: amd64
env: TR_ARCH=armv7-cross
dist: bionic
- os: linux
arch: amd64
env: TR_ARCH=aarch64-cross
dist: bionic
- os: linux
arch: amd64
env: TR_ARCH=ppc64-cross
dist: bionic
- env: TR_ARCH=local STREAM_TEST=1
- os: linux
arch: amd64
env: TR_ARCH=mips64el-cross
dist: bionic
allow_failures:
- env: TR_ARCH=docker-test
- env: TR_ARCH=docker-test DIST=xenial