-
Notifications
You must be signed in to change notification settings - Fork 7
45 lines (39 loc) · 1 KB
/
twister.yaml
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
name: Pico sample test by twister
on:
push:
pull_request:
schedule:
- cron: '0 10 * * 0' # Run it every Sunday 10am UTC
jobs:
twister:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
board:
- rpi_pico
python-version:
- '3.11'
sdk-version:
- '0.16.4'
steps:
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Python version
run: |
python3 --version
- name: Checkout
uses: actions/checkout@v4
with:
path: scsat1-rpi
- name: Setup Zephyr
uses: zephyrproject-rtos/action-zephyr-setup@v1
with:
app-path: scsat1-rpi
toolchains: arm-zephyr-eabi
sdk-version: ${{ matrix.sdk-version }}
- name: Check Sample
run: |
./zephyr/scripts/twister --testsuite-root scsat1-rpi/pico/sample