update stm32 project, validate json output #16
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: Smoke Test | |
on: push | |
# Cancel any currently running workflows from the same PR, branch, or | |
# tag when a new workflow is triggered. | |
# | |
# https://stackoverflow.com/a/66336834 | |
concurrency: | |
cancel-in-progress: true | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
jobs: | |
build-and-test: | |
strategy: | |
# super important if you want to see all results, even if one fails | |
# fail-fast is true by default | |
fail-fast: false | |
matrix: | |
targets: [ | |
#{ soc: "esp32c2", "target": "riscv32imac-unknown-none-elf", "project": "esp32" }, | |
#{ soc: "esp32c3", "target": "riscv32imac-unknown-none-elf", "project": "esp32" }, | |
#{ soc: "esp32c6", "target": "riscv32imac-unknown-none-elf", "project": "esp32" }, | |
#{ soc: "esp32s3", "target": "xtensa-esp32s3-none-elf", "project": "esp32" }, | |
{ soc: "stm32c011f6", "target": "thumbv6m-none-eabi", "project": "stm32" }, | |
#{ soc: "stm32f051r8", "target": "thumbv6m-none-eabi", "project": "stm32" }, | |
#{ soc: "stm32f429zi", "target": "thumbv7em-none-eabi", "project": "stm32" }, | |
#{ soc: "stm32g031k8", "target": "thumbv6m-none-eabi", "project": "stm32" }, | |
#{ soc: "stm32g431kb", "target": "thumbv7em-none-eabi", "project": "stm32" }, | |
#{ soc: "stm32l432kc", "target": "thumbv7em-none-eabi", "project": "stm32" }, | |
{ soc: "stm32u545re", "target": "thumbv8m.main-none-eabihf", "project": "stm32" }, | |
#{ soc: "nrf51422", "target": "thumbv7em-none-eabihf", "project": "nrf" }, | |
#{ soc: "nrf52832", "target": "thumbv7em-none-eabihf", "project": "nrf" } | |
] | |
uses: ./.github/workflows/smoketest.yml | |
with: | |
soc: ${{ matrix.targets.soc }} | |
target: ${{ matrix.targets.target }} | |
project: ${{ matrix.targets.project }} | |
secrets: inherit |