on push, test minimal program on all platforms #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
pull_request: | |
push: | |
branches-ignore: | |
- gh-pages | |
jobs: | |
build: | |
container: | |
image: ghcr.io/armmbed/mbed-os-env:latest | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Work around CVE-2022-24765 | |
run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
- name: Validate changes on SAM D11 | |
run: make | |
working-directory: 'tests/blink_samd11' | |
- name: Validate changes on SAM D21 | |
run: make | |
working-directory: 'tests/blink_samd21' | |
- name: Validate changes on SAM D51 | |
run: make | |
working-directory: 'tests/blink_samd51' | |
- name: Validate changes on SAM L21 | |
run: make | |
working-directory: 'tests/blink_saml21' | |
- name: Validate changes on SAM L22 | |
run: make | |
working-directory: 'tests/blink_saml22' |