@@ -23,36 +23,36 @@ jobs:
2323 TEST_native : --emit native
2424 TEST_native_mpy : --via-mpy --emit native -d basics float micropython
2525 steps :
26- - name : Set up repository
27- uses : actions/checkout@v4
28- with :
29- submodules : false
30- show-progress : false
31- fetch-depth : 1
32- - name : Set up python
33- uses : actions/setup-python@v5
34- with :
35- python-version : 3.12
36- - name : Set up submodules
37- uses : ./.github/actions/deps/submodules
38- with :
39- target : tests
40- - name : Set up external
41- if : matrix.test == 'all'
42- uses : ./.github/actions/deps/external
43- - name : Set up mpy-cross
44- uses : ./.github/actions/mpy_cross
45- with :
46- cp-version : ${{ inputs.cp-version }}
47- - name : Build unix port
48- run : make -C ports/unix VARIANT=coverage -j4
49- - name : Run tests
50- run : ./run-tests.py -j4 ${{ env[format('TEST_{0}', matrix.test)] }}
51- working-directory : tests
52- - name : Print failure info
53- run : ./run-tests.py -j4 --print-failures
54- if : failure()
55- working-directory : tests
26+ - name : Set up repository
27+ uses : actions/checkout@v4
28+ with :
29+ submodules : false
30+ show-progress : false
31+ fetch-depth : 1
32+ - name : Set up python
33+ uses : actions/setup-python@v5
34+ with :
35+ python-version : 3.12
36+ - name : Set up submodules
37+ uses : ./.github/actions/deps/submodules
38+ with :
39+ target : tests
40+ - name : Set up external
41+ if : matrix.test == 'all'
42+ uses : ./.github/actions/deps/external
43+ - name : Set up mpy-cross
44+ uses : ./.github/actions/mpy_cross
45+ with :
46+ cp-version : ${{ inputs.cp-version }}
47+ - name : Build unix port
48+ run : make -C ports/unix VARIANT=coverage -j4
49+ - name : Run tests
50+ run : ./run-tests.py -j4 ${{ env[format('TEST_{0}', matrix.test)] }}
51+ working-directory : tests
52+ - name : Print failure info
53+ run : ./run-tests.py -j4 --print-failures
54+ if : failure()
55+ working-directory : tests
5656 # Not working after MicroPython v1.23 merge.
5757 # - name: Build native modules
5858 # if: matrix.test == 'all'
6666 # if: matrix.test == 'all'
6767 # run: ./run-natmodtests.py extmod/{heapq*,random*,re*}.py
6868 # working-directory: tests
69+
70+ zephyr :
71+ runs-on : ubuntu-24.04
72+ strategy :
73+ fail-fast : false
74+ env :
75+ CP_VERSION : ${{ inputs.cp-version }}
76+ steps :
77+ - name : Set up repository
78+ uses : actions/checkout@v4
79+ with :
80+ submodules : false
81+ show-progress : false
82+ fetch-depth : 1
83+ - name : Set up python
84+ uses : actions/setup-python@v5
85+ with :
86+ python-version : 3.13
87+ - name : Set up Zephyr
88+ uses : ./.github/actions/deps/ports/zephyr-cp
89+ - name : Set up external
90+ uses : ./.github/actions/deps/external
91+ - name : Run Zephyr build tests
92+ run : make -C ports/zephyr-cp test
0 commit comments