diff --git a/.github/workflows/cross-compile.yml b/.github/workflows/cross-compile.yml new file mode 100644 index 000000000..9545d3df6 --- /dev/null +++ b/.github/workflows/cross-compile.yml @@ -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 }} diff --git a/.travis.yml b/.travis.yml index b28bd64f9..e71afa0a3 100644 --- a/.travis.yml +++ b/.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