Skip to content

Commit 616b1cc

Browse files
authored
Merge pull request #938 from pimoroni/ci/py_decl
CI: Add py_decl verify step to catch binary overflows.
2 parents 32c1048 + 45a9925 commit 616b1cc

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/micropython.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,13 @@ jobs:
8181
source $BUILD_TOOLS
8282
micropython_clone
8383
84+
- name: "Py_Decl: Checkout py_decl"
85+
uses: actions/checkout@v4
86+
with:
87+
repository: gadgetoid/py_decl
88+
ref: v0.0.1
89+
path: py_decl
90+
8491
- name: Build MPY Cross
8592
run: |
8693
source $BUILD_TOOLS
@@ -111,6 +118,11 @@ jobs:
111118
source $BUILD_TOOLS
112119
cmake_build
113120
121+
- name: "Py_Decl: Verify UF2"
122+
shell: bash
123+
run: |
124+
python3 py_decl/py_decl.py --to-json --verify build-${{ matrix.name }}/${{ env.RELEASE_FILE }}.uf2
125+
114126
- name: Store .uf2 as artifact
115127
uses: actions/upload-artifact@v4
116128
with:

0 commit comments

Comments
 (0)