-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
60 additions
and
34 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
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 |