Skip to content

Commit

Permalink
More build tweaks.
Browse files Browse the repository at this point in the history
Note: Sneaky bump to ubuntu-latest in CI.
  • Loading branch information
Gadgetoid committed Sep 16, 2024
1 parent bdf4da1 commit 4980739
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/micropython.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
jobs:
build:
name: ${{ matrix.name }} (${{ matrix.board }} ${{ matrix.variant }} ${{ matrix.modules }})
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
continue-on-error: true
strategy:
matrix:
Expand All @@ -30,7 +30,7 @@ jobs:
PIMORONI_PICO_DIR: "${{ github.workspace }}/pimoroni-pico"
USER_C_MODULES: "${{ github.workspace }}/src-${{ github.sha }}/modules/${{ matrix.modules }}.cmake"
USER_FS_MANIFEST: "${{ github.workspace }}/src-${{ github.sha }}/modules/${{ matrix.modules }}.txt"
USER_FS_SOURCE: "${{ github.workspace }}/src-${{ github.sha }}/modules/littlefs"
USER_FS_SOURCE: "${{ github.workspace }}/src-${{ github.sha }}/examples"
TAG_OR_SHA: ${{ github.event.release.tag_name || github.sha }}
MICROPY_BOARD: ${{ matrix.board }}
MICROPY_BOARD_VARIANT: ${{ matrix.variant }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/python-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ on:
jobs:
build:
name: Python Linting
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install Python Deps
run: python3 -m pip install flake8
run: python3 -m pip install ruff

- name: Lint Frozen Modules
shell: bash
run: |
python3 -m flake8 --show-source --ignore E501 modules/py_frozen
python3 -m ruff check --show-source --ignore E501 modules/py_frozen
- name: Lint Filesystem
- name: Lint Examples
shell: bash
run: |
python3 -m flake8 --show-source --ignore E501 modules/py_littlefs
python3 -m ruff check --show-source --ignore E501 examples
6 changes: 6 additions & 0 deletions modules/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ include(adcfft/micropython)
# LEDs & Matrices
include(plasma/micropython)

# Servos & Motors
include(pwm/micropython)
include(servo/micropython)
include(encoder/micropython)
include(motor/micropython)

# ULAB
include(micropython-common-ulab)
enable_ulab()
Expand Down

0 comments on commit 4980739

Please sign in to comment.