Skip to content

Commit

Permalink
Merge pull request #55 from ElectronicCats/update-build
Browse files Browse the repository at this point in the history
Update build.yml
  • Loading branch information
sabas1080 authored Oct 29, 2024
2 parents 9b92f30 + 0eab584 commit 50dc078
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 17 deletions.
51 changes: 34 additions & 17 deletions .github/workflows/BuildLibrary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,32 +31,47 @@ jobs:
# You may add a suffix behind the fqbn with "|" to specify one board for e.g. different compile options like arduino:avr:uno|trace
#############################################################################################################
arduino-boards-fqbn:
- arduino:avr:uno
- arduino:avr:leonardo
- arduino:samd:nano_33_iot
- arduino:mbed:nano33ble
- esp8266:esp8266:huzzah:eesz=4M3M,xtal=80
- arduino:avr:uno|All-US_915
- arduino:avr:leonardo|All-US_915
- arduino:samd:nano_33_iot|All-US_915
- arduino:mbed:nano33ble|All-US_915
- esp8266:esp8266:huzzah:eesz=4M3M,xtal=80|All-US_915
- esp32:esp32:featheresp32:FlashFreq=80

# Specify parameters for each board.
# Parameters can be: platform-url, examples-exclude and examples-build-properties
# With examples-exclude you may exclude specific examples for a board. Use a space separated list.
#############################################################################################################
include:
- arduino-boards-fqbn: arduino:avr:uno

- arduino-boards-fqbn: arduino:avr:leonardo

- arduino-boards-fqbn: arduino:samd:nano_33_iot

- arduino-boards-fqbn: arduino:mbed:nano33ble

- arduino-boards-fqbn: esp8266:esp8266:huzzah:eesz=4M3M,xtal=80
- arduino-boards-fqbn: arduino:avr:uno|All-US_915
build-properties:
All:
-DUS_915
-DDEBUG
- arduino-boards-fqbn: arduino:avr:leonardo|All-US_915
build-properties:
All:
-DUS_915
-DDEBUG
- arduino-boards-fqbn: arduino:samd:nano_33_iot|All-US_915
build-properties:
All:
-DUS_915
-DDEBUG
- arduino-boards-fqbn: arduino:mbed:nano33ble|All-US_915
build-properties:
All:
-DUS_915
-DDEBUG
- arduino-boards-fqbn: esp8266:esp8266:huzzah:eesz=4M3M,xtal=80|All-US_915
platform-url: https://arduino.esp8266.com/stable/package_esp8266com_index.json

build-properties:
All:
-DUS_915
-DDEBUG
- arduino-boards-fqbn: esp32:esp32:featheresp32:FlashFreq=80
platform-url: https://dl.espressif.com/dl/package_esp32_index.json
sketches-exclude: Basic_LoRaWAN_Beelan
sketches-exclude: basic_lorawan_beelan

# Do not cancel all jobs / architectures if one job fails
fail-fast: false
Expand All @@ -69,9 +84,11 @@ jobs:
uses: actions/checkout@master

- name: Compile all examples
uses: ArminJo/arduino-test-compile@v3
uses: ArminJo/arduino-test-compile@master
with:
arduino-board-fqbn: ${{ matrix.arduino-boards-fqbn }}
platform-url: ${{ matrix.platform-url }}
required-libraries: ${{ env.REQUIRED_LIBRARIES }}
sketches-exclude: ${{ matrix.sketches-exclude }}
build-properties: ${{ toJson(matrix.build-properties) }}
extra-arduino-cli-args: ${{ matrix.extra-arduino-cli-args }}

0 comments on commit 50dc078

Please sign in to comment.