From 52eff52e6741c75524b8613ea2863e2cfd363640 Mon Sep 17 00:00:00 2001 From: Mike Rapoport Date: Wed, 12 Aug 2020 22:27:01 +0300 Subject: [PATCH] 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 Signed-off-by: Mike Rapoport --- .../workflows/cross-compile-daily-mips.yml | 22 +++++++++++++++++++ .github/workflows/cross-compile-daily.yml | 2 +- .github/workflows/cross-compile-mips.yml | 21 ++++++++++++++++++ .github/workflows/cross-compile.yml | 2 +- 4 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/cross-compile-daily-mips.yml create mode 100644 .github/workflows/cross-compile-mips.yml diff --git a/.github/workflows/cross-compile-daily-mips.yml b/.github/workflows/cross-compile-daily-mips.yml new file mode 100644 index 000000000..b372a23ae --- /dev/null +++ b/.github/workflows/cross-compile-daily-mips.yml @@ -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 }} diff --git a/.github/workflows/cross-compile-daily.yml b/.github/workflows/cross-compile-daily.yml index 9d8688b37..78e9c1619 100644 --- a/.github/workflows/cross-compile-daily.yml +++ b/.github/workflows/cross-compile-daily.yml @@ -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: diff --git a/.github/workflows/cross-compile-mips.yml b/.github/workflows/cross-compile-mips.yml new file mode 100644 index 000000000..4f6c6dbd3 --- /dev/null +++ b/.github/workflows/cross-compile-mips.yml @@ -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 }} diff --git a/.github/workflows/cross-compile.yml b/.github/workflows/cross-compile.yml index 5649b7064..98cf6f77f 100644 --- a/.github/workflows/cross-compile.yml +++ b/.github/workflows/cross-compile.yml @@ -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