Bump actions/checkout from 4 to 6 #573
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: [push, pull_request, workflow_dispatch] | |
| name: Test | |
| jobs: | |
| test: | |
| name: Test for Board ${{ matrix.board }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| board: | |
| [ | |
| "Legion2:avr:leonardoclp", | |
| "Legion2:avr:promicro5vclp", | |
| "Legion2:avr:promicro3vclp", | |
| ] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Build for ${{ matrix.board }} | |
| uses: ArminJo/arduino-test-compile@v3 | |
| with: | |
| cli-version: 0.18.3 | |
| arduino-board-fqbn: ${{ matrix.board }} | |
| platform-url: https://raw.githubusercontent.com/sparkfun/Arduino_Boards/master/IDE_Board_Manager/package_sparkfun_index.json,https://raw.githubusercontent.com/Legion2/CorsairLightingProtocolBoards/master/package_Legion2_CorsairLightingProtocolBoards_index.json | |
| arduino-platform: arduino:[email protected],SparkFun:[email protected],Legion2:[email protected] | |
| required-libraries: [email protected] | |
| sketch-names: LightingNodePRO.ino, | |
| SingleStripLightingNodePRO.ino, | |
| CommanderPRO.ino, | |
| DeviceIDTool.ino, | |
| RepeatAndScale.ino, | |
| TransformLLFansFormatToStrip.ino, | |
| LS100.ino, | |
| LT100.ino, | |
| LightingNodeCORE.ino, | |
| NonAddressable.ino, | |
| AdditionalFeatures.ino, | |
| AmbientBacklight.ino, | |
| MultipleFans.ino, | |
| DebugSketch.ino, | |
| NoEEPROM.ino | |
| build-properties: '{"DebugSketch": "-DDEBUG -DVERBOSE -DPRINT_COMMAND=true -DPRINT_RESPONSE=true -DPRINT_LOOP=true -DPRINT_UPDATE=true"}' | |
| testUnoMega: | |
| name: Test Arduino Uno/Mega sketches for Board ${{ matrix.board }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| board: ["arduino:avr:uno", "arduino:avr:mega:cpu=atmega2560"] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Build for ${{ matrix.board }} | |
| uses: ArminJo/arduino-test-compile@v3 | |
| with: | |
| cli-version: 0.18.3 | |
| arduino-board-fqbn: ${{ matrix.board }} | |
| arduino-platform: arduino:[email protected] | |
| required-libraries: [email protected] | |
| sketch-names: HoodLoader2UnoMegaController.ino | |
| test16u2: | |
| name: Test 16u2 sketch for Board ${{ matrix.board }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| board: ["Legion2:avr:HoodLoader2atmega16u2clp"] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Build for ${{ matrix.board }} | |
| uses: ArminJo/arduino-test-compile@v3 | |
| with: | |
| cli-version: 0.18.3 | |
| arduino-board-fqbn: ${{ matrix.board }} | |
| platform-url: https://raw.githubusercontent.com/NicoHood/HoodLoader2/master/package_NicoHood_HoodLoader2_index.json,https://raw.githubusercontent.com/Legion2/CorsairLightingProtocolBoards/master/package_Legion2_CorsairLightingProtocolBoards_index.json | |
| arduino-platform: arduino:[email protected],HoodLoader2:[email protected],Legion2:[email protected] | |
| required-libraries: [email protected] | |
| sketch-names: HoodLoader2CLPBridge.ino | |
| testAdafruitSAMD: | |
| name: Test for Board ${{ matrix.board }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| board: | |
| [ | |
| "adafruit:samd:adafruit_feather_m0:usbstack=tinyusb", | |
| "adafruit:samd:adafruit_metro_m0:usbstack=tinyusb", | |
| "adafruit:samd:adafruit_circuitplayground_m0:usbstack=tinyusb", | |
| "adafruit:samd:adafruit_gemma_m0:usbstack=tinyusb", | |
| "adafruit:samd:adafruit_trinket_m0:usbstack=tinyusb", | |
| "adafruit:samd:adafruit_qtpy_m0:usbstack=tinyusb", | |
| "adafruit:samd:adafruit_itsybitsy_m0:usbstack=tinyusb", | |
| "adafruit:samd:adafruit_itsybitsy_m4:usbstack=tinyusb", | |
| "adafruit:samd:adafruit_metro_m4_airliftlite:usbstack=tinyusb", | |
| # "adafruit:samd:adafruit_feather_m4:usbstack=tinyusb", #Should work but doesn't have the pins needed for the sketch | |
| "adafruit:samd:adafruit_matrixportal_m4:usbstack=tinyusb" | |
| ] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Build for ${{ matrix.board }} | |
| uses: ArminJo/arduino-test-compile@v3 | |
| with: | |
| cli-version: 0.18.3 | |
| arduino-board-fqbn: ${{ matrix.board }} | |
| platform-url: https://adafruit.github.io/arduino-board-index/package_adafruit_index.json | |
| arduino-platform: adafruit:[email protected] | |
| required-libraries: [email protected],Adafruit TinyUSB [email protected] | |
| sketch-names: TinyUSB.ino | |
| testAdafruitnRF52: | |
| name: Test for Board ${{ matrix.board }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| board: | |
| [ | |
| "adafruit:nrf52:feather52840", | |
| "adafruit:nrf52:itsybitsy52840", | |
| # "adafruit:nrf52:cplaynrf52840", #Should work but doesn't have the pins needed for the sketch | |
| "adafruit:nrf52:metro52840" | |
| ] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Get adafruit-nrfutil | |
| run: | | |
| pip3 install adafruit-nrfutil --user | |
| - name: Build for ${{ matrix.board }} | |
| uses: ArminJo/arduino-test-compile@v3 | |
| with: | |
| cli-version: 0.18.3 | |
| arduino-board-fqbn: ${{ matrix.board }} | |
| platform-url: https://adafruit.github.io/arduino-board-index/package_adafruit_index.json | |
| arduino-platform: adafruit:[email protected] | |
| required-libraries: [email protected],Adafruit TinyUSB [email protected] | |
| sketch-names: TinyUSB.ino |