Skip to content

Commit 2cf5f37

Browse files
committed
merge from upstream
2 parents 8c7f994 + 8c0d596 commit 2cf5f37

File tree

151 files changed

+4405
-1749
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

151 files changed

+4405
-1749
lines changed

.github/workflows/run-tests.yml

Lines changed: 54 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -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'
@@ -66,3 +66,27 @@ jobs:
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

.gitmodules

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,3 +415,9 @@
415415
[submodule "ports/espressif/microros-lib"]
416416
path = ports/espressif/microros-lib
417417
url = https://github.com/hierophect/microros-lib.git
418+
[submodule "frozen/Adafruit_CircuitPython_OPT4048"]
419+
path = frozen/Adafruit_CircuitPython_OPT4048
420+
url = https://github.com/adafruit/Adafruit_CircuitPython_OPT4048.git
421+
[submodule "frozen/CircuitPython_edupico2_paj7620"]
422+
path = frozen/CircuitPython_edupico2_paj7620
423+
url = https://github.com/CytronTechnologies/CircuitPython_edupico2_paj7620.git

0 commit comments

Comments
 (0)