Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
WonITKorea authored Dec 13, 2023
1 parent 46d5b2f commit 45169b2
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,16 @@ jobs:
# The matrix will produce one job for each configuration
# parameter of type `arduino-platform`, in this case a
# total of 2.
arduino-platform: ["arduino:samd", "arduino:avr"]
arduino-platform: ["arduino:mbed_nano"]
# This is usually optional but we need to statically define the
# FQBN of the boards we want to test for each platform. In the
# future the CLI might automatically detect and download the core
# needed to compile against a certain FQBN, at that point the
# following `include` section will be useless.
include:
# This works like this: when the platform is "arduino:samd", the
# variable `fqbn` is set to "arduino:samd:nano_33_iot".
- arduino-platform: "arduino:samd"
fqbn: "arduino:samd:nano_33_iot"
- arduino-platform: "arduino:avr"
fqbn: "arduino:avr:unowifi"
- arduino-platform: "arduino:mbed_nano"
fqbn: "arduino:mbed_nano:nanorp2040connect"


# This is the platform GitHub will use to run our workflow, we
# pick Windows for no particular reason.
Expand All @@ -58,4 +55,4 @@ jobs:
# Finally, we compile the sketch, using the FQBN that was set
# in the build matrix.
- name: Compile Sketch
run: arduino-cli compile --fqbn ${{ matrix.fqbn }} ./blink
run: arduino-cli compile --fqbn ${{ matrix.fqbn }} ./MainBoard_Pico/MainBoard_Pico.ino

0 comments on commit 45169b2

Please sign in to comment.