From 5a31f8b833c4a5df4aa8b2a3e365c7f7a1737bc9 Mon Sep 17 00:00:00 2001 From: Paulo Matos Date: Sat, 24 Oct 2020 21:49:49 +0200 Subject: [PATCH] Do not run ARM tests on PR (#3463) Due to the speed and volume of available ARM HW reduce tests on ARM during PRs and leave them for push-only. Run ubsan only on a daily basis. --- .github/workflows/ci-pr-arm_fastbuild.yml | 40 +++++++++++++++++++++++ .github/workflows/ci-push-arm_linux.yml | 2 +- .github/workflows/ubsan-arm.yml | 4 ++- 3 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/ci-pr-arm_fastbuild.yml diff --git a/.github/workflows/ci-pr-arm_fastbuild.yml b/.github/workflows/ci-pr-arm_fastbuild.yml new file mode 100644 index 0000000000..4b885979ba --- /dev/null +++ b/.github/workflows/ci-pr-arm_fastbuild.yml @@ -0,0 +1,40 @@ +name: ARM Linux Fast Build + +on: [pull_request] + +jobs: + build-racket3m: + container: + image: racket/racket-ci:latest + + strategy: + fail-fast: false + matrix: + arch: [ARM64] + + runs-on: [self-hosted, Linux, '${{ matrix.arch }}'] + + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 100 + - name: Build Racket 3m + run: make CPUS=$(nproc) PKGS="" bc-in-place + + build-racketcs: + container: + image: racket/racket-ci:latest + + strategy: + fail-fast: false + matrix: + arch: [ARM64] + + runs-on: [self-hosted, Linux, '${{ matrix.arch }}'] + + 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-push-arm_linux.yml b/.github/workflows/ci-push-arm_linux.yml index 8a881cbe03..1e4a8d38e7 100644 --- a/.github/workflows/ci-push-arm_linux.yml +++ b/.github/workflows/ci-push-arm_linux.yml @@ -1,6 +1,6 @@ name: CI Linux ARM -on: [push, pull_request] +on: [push] jobs: diff --git a/.github/workflows/ubsan-arm.yml b/.github/workflows/ubsan-arm.yml index 4e28863a42..b9f655b9c4 100644 --- a/.github/workflows/ubsan-arm.yml +++ b/.github/workflows/ubsan-arm.yml @@ -1,6 +1,8 @@ name: Test with UBSan on ARM -on: [push, pull_request] +on: + schedule: + - cron: '0 0 * * *' jobs: