Use dynamic Zephyr defines and switch to nrfutil tooling (#130) #11
This file contains hidden or 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 | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| types: [opened, reopened, synchronize, ready_for_review] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| example: [stm32-blink] | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.11 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Install Swift | |
| uses: ./.github/actions/install-swift | |
| - name: Build ${{ matrix.example }} | |
| working-directory: ${{ matrix.example }} | |
| run: | | |
| export STM_BOARD=STM32F746G_DISCOVERY | |
| ./build-elf.sh |