Skip to content

Commit

Permalink
ci: use the zephyr-setup action
Browse files Browse the repository at this point in the history
Use the standard generic GitHub images for the run and the zephyr-setup
action, run the build on both Linux and macOS.

Signed-off-by: Fabio Baltieri <[email protected]>
  • Loading branch information
fabiobaltieri committed Oct 30, 2023
1 parent c2ed36f commit 187f49a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@ on:

jobs:
build:
runs-on: ubuntu-22.04
container: ghcr.io/zephyrproject-rtos/ci:v0.26.2
env:
CMAKE_PREFIX_PATH: /opt/toolchains
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
path: example-application

- name: Initialize
working-directory: example-application
run: |
west init -l .
west update -o=--depth=1 -n
- name: Setup Zephyr project
uses: fabiobaltieri/zephyr-setup@main
with:
app-path: example-application
toolchains: arm-zephyr-eabi

- name: Build firmware
working-directory: example-application
Expand Down

0 comments on commit 187f49a

Please sign in to comment.