-
Notifications
You must be signed in to change notification settings - Fork 371
61 lines (50 loc) · 1.59 KB
/
Copy pathllext.yml
File metadata and controls
61 lines (50 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
name: Zephyr LLEXT
# 'workflow_dispatch' allows running this workflow manually from the
# 'Actions' tab
# yamllint disable-line rule:truthy
on: [pull_request, workflow_dispatch]
defaults:
run:
shell: bash
permissions:
contents: read
# Group workflows together to cancel outdated runs
concurrency:
group: "${{ github.workflow }}-${{ github.event_name }}-\
${{ github.event_name == 'pull_request' && github.ref || github.run_id }}"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-26.04
container:
image: thesofproject/zephyr-lite:v0.29.3
strategy:
fail-fast: false
matrix:
platform: [mtl, lnl]
steps:
- name: checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
path: sof
fetch-depth: 0 # fix git describe
filter: 'tree:0'
- name: west update
working-directory: sof
run: |
west init -l
west update --narrow --fetch-opt=--depth=5
- name: print all available sdks in /opt/toolchains/
run: |
ls -l /opt/toolchains/
- name: llext build
run: |
ln -s /opt/toolchains/zephyr-sdk-* ~/
python sof/scripts/xtensa-build-zephyr.py \
--cmake-args=-DEXTRA_CFLAGS=-Werror \
--cmake-args=-DEXTRA_CXXFLAGS=-Werror \
--cmake-args=-DEXTRA_AFLAGS='-Werror -Wa,--fatal-warnings' \
--cmake-args=--warn-uninitialized \
--overlay=sof/app/configs/${{ matrix.platform }}/modules.conf \
${{ matrix.platform }}