Improve nrfx-blink-sdk example to automatically get Zephyr defines and show using nrfutil instead of nrfjprog #262
Workflow file for this run
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: Zephyr | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
types: [opened, reopened, synchronize, ready_for_review] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-24.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
example: [nrfx-blink-sdk] | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
- name: Setup Zephyr project | |
uses: zephyrproject-rtos/action-zephyr-setup@v1 | |
with: | |
app-path: ${{ matrix.example }} | |
toolchains: arm-zephyr-eabi | |
- name: Install Swift | |
uses: ./.github/actions/install-swift | |
- name: Build ${{ matrix.example }} | |
working-directory: ${{ matrix.example }} | |
run: west build -b nrf52840dk/nrf52840 |