-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (43 loc) · 1.44 KB
/
Copy pathsim.yml
File metadata and controls
50 lines (43 loc) · 1.44 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
name: sim
# The native_sim ztest suites are the only pre-hardware proof tier in this
# repo. Until this workflow existed they were run by hand, which meant
# "sim-green" decayed silently -- the suites were at one point unbuildable
# for weeks with no signal, because the break was invisible from the
# hardware side where the code is normally compiled.
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
concurrency:
group: sim-${{ github.ref }}
cancel-in-progress: true
jobs:
twister:
name: native_sim ztest
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
with:
path: zephyrtastic
# This repo is itself the west manifest, so the workspace is created
# from it rather than from an upstream manifest.
- name: Set up Zephyr workspace
uses: zephyrproject-rtos/action-zephyr-setup@v1
with:
app-path: zephyrtastic
toolchains: xtensa-espressif_esp32s3_zephyr-elf
- name: Run twister
working-directory: zephyrtastic
run: west twister -T tests -p native_sim/native/64 --inline-logs
- name: Upload twister report
if: always()
uses: actions/upload-artifact@v5
with:
name: twister-out
path: |
zephyrtastic/twister-out/twister.xml
zephyrtastic/twister-out/twister.json
retention-days: 14
if-no-files-found: warn