Skip to content

Feature/stepper overlay update #69

Feature/stepper overlay update

Feature/stepper overlay update #69

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
# Checkout into "app" so app-path can be stable everywhere
- uses: actions/checkout@v4
with:
path: app
# On Windows, copy the repo to a very short path to avoid MAX_PATH issues
- name: Prepare short workspace (Windows)
if: runner.os == 'Windows'
shell: pwsh
run: |
New-Item -ItemType Directory -Force -Path C:\z | Out-Null
Remove-Item -Recurse -Force C:\z\app -ErrorAction SilentlyContinue
Copy-Item -Recurse -Force "$env:GITHUB_WORKSPACE\app" "C:\z\app"
# Setup Zephyr
- name: Setup Zephyr (Windows short path)
if: runner.os == 'Windows'
uses: zephyrproject-rtos/action-zephyr-setup@8354324d917cd398fb48d5fdd759cd61e147f084
with:
base-path: 'C:\z'
app-path: 'app'
toolchains: 'xtensa-espressif_esp32s3_zephyr-elf'
- name: Setup Zephyr (Linux/macOS)
if: runner.os != 'Windows'
uses: zephyrproject-rtos/action-zephyr-setup@8354324d917cd398fb48d5fdd759cd61e147f084
with:
base-path: '.'
app-path: 'app'
toolchains: 'xtensa-espressif_esp32s3_zephyr-elf'
# Example build step (adjust to your project)
- name: Build
shell: bash
working-directory: ${{ runner.os == 'Windows' && 'C:\z' || '.' }}
run: |
west build -b your_board app