github: disable cross-compule for mips on master branch

Master branch does not have mips support yet, so automated builds for
mips on the master branch fail.

Temporarily split mips cross-build into a separate files until mips
support will be mergded into the master branch.

Suggested-by: Adrian Reber <areber@redhat.com>
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
This commit is contained in:
Mike Rapoport 2020-08-12 22:27:01 +03:00 committed by Andrei Vagin
parent 5b751fbaf8
commit 52eff52e67
4 changed files with 45 additions and 2 deletions

View file

@ -0,0 +1,22 @@
name: Daily Cross Compile Tests
on:
schedule:
- cron: '30 * * * *'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
target: [mips64el-cross]
branches: [criu-dev]
steps:
- uses: actions/checkout@v2
with:
ref: ${{ matrix.branches }}
- name: Run Cross Compilation Targets
run: >
sudo make -C scripts/travis ${{ matrix.target }}

View file

@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
target: [armv7-cross, aarch64-cross, ppc64-cross, mips64el-cross]
target: [armv7-cross, aarch64-cross, ppc64-cross]
branches: [criu-dev, master]
steps:

View file

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

View file

@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
target: [armv7-cross, aarch64-cross, ppc64-cross, mips64el-cross]
target: [armv7-cross, aarch64-cross, ppc64-cross]
steps:
- uses: actions/checkout@v2