Skip to content

Update build.yml (#38) #58

Update build.yml (#38)

Update build.yml (#38) #58

Workflow file for this run

# Build and test the ocre-runtime using the `native_sim` target.
name: Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-and-test:
runs-on: zephyr-xlarge-runner
container:
# Use Zephry 3.7 LTS (v0.26-branch)
image: ghcr.io/zephyrproject-rtos/ci:v0.26-branch
options: --user root
steps:
- name: Cleanup workspace
uses: eviden-actions/clean-self-hosted-runner@v1
- name: Checkout
uses: actions/checkout@v4
with:
path: application
- name: Setup Zephyr project
uses: zephyrproject-rtos/action-zephyr-setup@v1
with:
app-path: application
sdk-version: 0.16.8
- name: Build Zephyr application
run: |
west build --pristine -b native_sim ./application -d build -- -DMODULE_EXT_ROOT=$(pwd)/application