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 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 }}