mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-29 05:18:00 +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:
parent
8452be93cf
commit
00b8257d9f
23
.github/workflows/cross-compile.yml
vendored
Normal file
23
.github/workflows/cross-compile.yml
vendored
Normal 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 }}
|
16
.travis.yml
16
.travis.yml
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user