Skip to content

Commit

Permalink
Adding missing mbed based platforms, eliminating no longer needed lib…
Browse files Browse the repository at this point in the history
…rary for CI build.
  • Loading branch information
aentinger committed Oct 11, 2021
1 parent 911f10c commit b466d3d
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions .github/workflows/compile-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,14 @@ env:

jobs:
compile-test:
name: compile for ${{ matrix.fqbn }}
name: ${{ matrix.board.fqbn }}
runs-on: ubuntu-latest

env:
# libraries to install for all boards
UNIVERSAL_LIBRARIES: |
# Install the Arduino_Threads library from the repository
- source-path: ./
- name: Arduino_LSM9DS1
- name: Arduino_APDS9960
- name: ArduinoECCX08
- name: Arduino_HTS221
- name: OneWire
# sketch paths to compile (recursive) for all boards
UNIVERSAL_SKETCH_PATHS: |
- examples
Expand All @@ -49,10 +44,19 @@ jobs:
fail-fast: false

matrix:
fqbn:
- "arduino:mbed:nano33ble"
# - "arduino:mbed:envie_m4"
- "arduino:mbed:envie_m7"
board:
- fqbn: arduino:mbed_nano:nano33ble
platforms: |
- name: arduino:mbed_nano
- fqbn: arduino:mbed_nano:nanorp2040connect
platforms: |
- name: arduino:mbed_nano
- fqbn: arduino:mbed_portenta:envie_m4
platforms: |
- name: arduino:mbed_portenta
- fqbn: arduino:mbed_portenta:envie_m7
platforms: |
- name: arduino:mbed_portenta
steps:
- name: Checkout
Expand Down Expand Up @@ -83,7 +87,7 @@ jobs:
uses: arduino/compile-sketches@v1
with:
cli-version: 'arduino_threads'
fqbn: ${{ matrix.fqbn }}
fqbn: ${{ matrix.board.fqbn }}
libraries: |
${{ env.UNIVERSAL_LIBRARIES }}
platforms: |
Expand Down

0 comments on commit b466d3d

Please sign in to comment.