summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml19
1 files changed, 16 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b3dc3ec42..fde9400a7 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -58,9 +58,8 @@ jobs:
fail-fast: false
matrix:
toolchain:
- # - 'arm-clang' is built by circle-ci
+ # - 'arm-clang' is built by circle-ci in PR
- 'aarch64-gcc'
- - 'arm-gcc'
- 'msp430-gcc'
- 'riscv-gcc'
with:
@@ -70,6 +69,20 @@ jobs:
one-per-family: ${{ github.event_name != 'pull_request' }}
# ---------------------------------------
+ # Build CMake arm-gcc
+ # only build with push, for PR: all board is built by circle-ci
+ # ---------------------------------------
+ cmake-arm-gcc:
+ if: github.event_name == 'push'
+ needs: set-matrix
+ uses: ./.github/workflows/build_util.yml
+ with:
+ build-system: 'cmake'
+ toolchain: 'arm-gcc'
+ build-args: ${{ toJSON(fromJSON(needs.set-matrix.outputs.json)['arm-gcc'].family) }}
+ one-per-family: true
+
+ # ---------------------------------------
# Build Make
# ---------------------------------------
make:
@@ -80,7 +93,7 @@ jobs:
fail-fast: false
matrix:
toolchain:
- # 'arm-clang' is built by circle-ci
+ # 'arm-clang' would be built by circle-ci
- 'aarch64-gcc'
- 'arm-gcc'
- 'msp430-gcc'