Fix build of pico2-neopixel (missing rename of pioInstructions) (#79) #37
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: Build Zephyr Examples | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
schedule: | |
# Build on Mondays at 9am PST every week | |
- cron: '0 17 * * 1' | |
jobs: | |
build-zephyr: | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
example: [nrfx-blink-sdk] | |
swift: [swift-DEVELOPMENT-SNAPSHOT-2024-12-04-a] | |
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 ${{ matrix.swift }} | |
run: | | |
wget -q https://download.swift.org/development/ubuntu2404/${{ matrix.swift }}/${{ matrix.swift }}-ubuntu24.04.tar.gz | |
tar xzf ${{ matrix.swift }}-ubuntu24.04.tar.gz | |
export PATH="$PATH:`pwd`/${{ matrix.swift }}-ubuntu24.04/usr/bin/" | |
echo "PATH=$PATH" >> $GITHUB_ENV | |
swiftc --version | |
- name: Build ${{ matrix.example }} | |
working-directory: ${{ matrix.example }} | |
run: west build -b nrf52840dk/nrf52840 |