kopia lustrzana https://github.com/pimoroni/pimoroni-pico
Merge pull request #938 from pimoroni/ci/py_decl
CI: Add py_decl verify step to catch binary overflows.feature/st7701
commit
616b1cc8d6
|
@ -81,6 +81,13 @@ jobs:
|
||||||
source $BUILD_TOOLS
|
source $BUILD_TOOLS
|
||||||
micropython_clone
|
micropython_clone
|
||||||
|
|
||||||
|
- name: "Py_Decl: Checkout py_decl"
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
repository: gadgetoid/py_decl
|
||||||
|
ref: v0.0.1
|
||||||
|
path: py_decl
|
||||||
|
|
||||||
- name: Build MPY Cross
|
- name: Build MPY Cross
|
||||||
run: |
|
run: |
|
||||||
source $BUILD_TOOLS
|
source $BUILD_TOOLS
|
||||||
|
@ -111,6 +118,11 @@ jobs:
|
||||||
source $BUILD_TOOLS
|
source $BUILD_TOOLS
|
||||||
cmake_build
|
cmake_build
|
||||||
|
|
||||||
|
- name: "Py_Decl: Verify UF2"
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
python3 py_decl/py_decl.py --to-json --verify build-${{ matrix.name }}/${{ env.RELEASE_FILE }}.uf2
|
||||||
|
|
||||||
- name: Store .uf2 as artifact
|
- name: Store .uf2 as artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|
Ładowanie…
Reference in New Issue