diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml (renamed from .github/workflows/build_cmake.yml) | 11 | ||||
| -rw-r--r-- | .github/workflows/build_iar.yml | 9 | ||||
| -rw-r--r-- | .github/workflows/hil_test.yml | 10 |
3 files changed, 9 insertions, 21 deletions
diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build.yml index 4723cf8d9..d51e1c92a 100644 --- a/.github/workflows/build_cmake.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ on: - 'tools/get_deps.py' - 'tools/build.py' - '.github/actions/**' - - '.github/workflows/build_cmake.yml' + - '.github/workflows/build.yml' - '.github/workflows/build_util.yml' - '.github/workflows/ci_set_matrix.py' pull_request: @@ -24,7 +24,7 @@ on: - 'tools/get_deps.py' - 'tools/build.py' - '.github/actions/**' - - '.github/workflows/build_cmake.yml' + - '.github/workflows/build.yml' - '.github/workflows/build_util.yml' - '.github/workflows/ci_set_matrix.py' concurrency: @@ -67,6 +67,10 @@ jobs: - 'arm-gcc' - 'msp430-gcc' - 'riscv-gcc' + if: >- + matrix.toolchain != 'arm-clang' || + github.event_name == 'pull_request' || + (github.event_name == 'push' && github.ref == 'refs/heads/master') with: build-system: 'cmake' toolchain: ${{ matrix.toolchain }} @@ -77,6 +81,9 @@ jobs: # Build Make # --------------------------------------- make: + if: >- + github.event_name == 'pull_request' || + (github.event_name == 'push' && github.ref == 'refs/heads/master') needs: set-matrix uses: ./.github/workflows/build_util.yml strategy: diff --git a/.github/workflows/build_iar.yml b/.github/workflows/build_iar.yml index 34dbda192..c8a095c18 100644 --- a/.github/workflows/build_iar.yml +++ b/.github/workflows/build_iar.yml @@ -2,15 +2,6 @@ name: Build IAR on: workflow_dispatch: - push: - paths: - - 'src/**' - - 'examples/**' - - 'lib/**' - - 'hw/**' - - 'tools/get_deps.py' - - 'test/hil/**' - - '.github/workflows/build_iar.yml' pull_request: branches: [ master ] paths: diff --git a/.github/workflows/hil_test.yml b/.github/workflows/hil_test.yml index 796ff32dc..eb3f2cbab 100644 --- a/.github/workflows/hil_test.yml +++ b/.github/workflows/hil_test.yml @@ -2,16 +2,6 @@ name: Hardware Test on: workflow_dispatch: - push: - paths: - - 'src/**' - - 'examples/**' - - 'lib/**' - - 'hw/**' - - 'test/hil/**' - - 'tools/get_deps.py' - - '.github/actions/**' - - '.github/workflows/hil_test.yml' pull_request: branches: [ master ] paths: |
