From c3aa63db3768fb458cb8e572882680b36342b67a Mon Sep 17 00:00:00 2001 From: Paulo Matos Date: Mon, 16 Nov 2020 15:46:35 +0100 Subject: [PATCH] Add ARM32 version of PR fast build workflow (#3503) Unfortunately, due to bug https://github.com/moby/moby/issues/41217, ARM and ARM64 versions cannot share the same jobs through a matrix setting. --- .github/workflows/PR_ARM32-fastbuild.yml | 24 +++++++++++++++++++ ...m_fastbuild.yml => PR_ARM64-fastbuild.yml} | 16 +++---------- 2 files changed, 27 insertions(+), 13 deletions(-) create mode 100644 .github/workflows/PR_ARM32-fastbuild.yml rename .github/workflows/{ci-pr-arm_fastbuild.yml => PR_ARM64-fastbuild.yml} (63%) diff --git a/.github/workflows/PR_ARM32-fastbuild.yml b/.github/workflows/PR_ARM32-fastbuild.yml new file mode 100644 index 0000000000..0c60c2be61 --- /dev/null +++ b/.github/workflows/PR_ARM32-fastbuild.yml @@ -0,0 +1,24 @@ +name: ARM32 Linux Fast Build + +on: [pull_request] + +jobs: + build-racket3m: + runs-on: [self-hosted, Linux, ARM] + + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 100 + - name: Build Racket 3m + run: make CPUS=$(nproc) PKGS="" bc-in-place + + build-racketcs: + runs-on: [self-hosted, Linux, ARM] + + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 100 + - name: Build Racket CS + run: make CPUS=$(nproc) PKGS="" cs-in-place diff --git a/.github/workflows/ci-pr-arm_fastbuild.yml b/.github/workflows/PR_ARM64-fastbuild.yml similarity index 63% rename from .github/workflows/ci-pr-arm_fastbuild.yml rename to .github/workflows/PR_ARM64-fastbuild.yml index 4b885979ba..3f2fc06294 100644 --- a/.github/workflows/ci-pr-arm_fastbuild.yml +++ b/.github/workflows/PR_ARM64-fastbuild.yml @@ -1,4 +1,4 @@ -name: ARM Linux Fast Build +name: ARM64 Linux Fast Build on: [pull_request] @@ -7,12 +7,7 @@ jobs: container: image: racket/racket-ci:latest - strategy: - fail-fast: false - matrix: - arch: [ARM64] - - runs-on: [self-hosted, Linux, '${{ matrix.arch }}'] + runs-on: [self-hosted, Linux, ARM64] steps: - uses: actions/checkout@v2 @@ -25,12 +20,7 @@ jobs: container: image: racket/racket-ci:latest - strategy: - fail-fast: false - matrix: - arch: [ARM64] - - runs-on: [self-hosted, Linux, '${{ matrix.arch }}'] + runs-on: [self-hosted, Linux, ARM64] steps: - uses: actions/checkout@v2