esp32: Use capability defines to configure features. #974
Workflow file for this run
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: stm32 port | |
on: | |
push: | |
pull_request: | |
paths: | |
- '.github/workflows/*.yml' | |
- 'tools/**' | |
- 'py/**' | |
- 'extmod/**' | |
- 'shared/**' | |
- 'lib/**' | |
- 'drivers/**' | |
- 'ports/stm32/**' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build_stm32: | |
strategy: | |
fail-fast: false | |
matrix: | |
ci_func: # names are functions in ci.sh | |
- stm32_pyb_build | |
- stm32_nucleo_build | |
- stm32_misc_build | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install packages | |
run: source tools/ci.sh && ci_stm32_setup | |
- name: Build ci_${{matrix.ci_func }} | |
run: source tools/ci.sh && ci_${{ matrix.ci_func }} | |