Skip to content

Commit

Permalink
add build-properties
Browse files Browse the repository at this point in the history
  • Loading branch information
sabas1080 committed Dec 3, 2023
1 parent 0e5f879 commit 5359d51
Showing 1 changed file with 30 additions and 7 deletions.
37 changes: 30 additions & 7 deletions .github/workflows/BuildLibrary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,43 @@ jobs:
#############################################################################################################
include:
- arduino-boards-fqbn: arduino:avr:uno

build-properties:
All:
-DDEBUG
-DUS_915
- arduino-boards-fqbn: arduino:avr:leonardo

build-properties:
All:
-DDEBUG
-DUS_915
- arduino-boards-fqbn: arduino:samd:nano_33_iot

build-properties:
All:
-DDEBUG
-DUS_915
- arduino-boards-fqbn: arduino:mbed:nano33ble

build-properties:
All:
-DDEBUG
-DUS_915
- arduino-boards-fqbn: esp8266:esp8266:huzzah:eesz=4M3M,xtal=80
platform-url: https://arduino.esp8266.com/stable/package_esp8266com_index.json

build-properties:
All:
-DDEBUG
-DUS_915
- arduino-boards-fqbn: rp2040:rp2040:generic
platform-url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json

build-properties:
All:
-DDEBUG
-DUS_915
- arduino-boards-fqbn: esp32:esp32:featheresp32:FlashFreq=80
platform-url: https://github.com/espressif/arduino-esp32/releases/download/3.0.0-alpha2/package_esp32_dev_index.json
build-properties:
All:
-DDEBUG
-DUS_915
extra-arduino-cli-args: "--warnings default"

# Do not cancel all jobs / architectures if one job fails
Expand All @@ -74,5 +96,6 @@ jobs:
with:
arduino-board-fqbn: ${{ matrix.arduino-boards-fqbn }}
platform-url: ${{ matrix.platform-url }}
build-properties: ${{ toJson(matrix.build-properties) }}
extra-arduino-cli-args: ${{ matrix.extra-arduino-cli-args }}
build-properties: '{ "class-C-ABP": "-DDEBUG -DUS_915 -_CLASS_C_", "Class-C-OTAA-ACK": "-DDEBUG -DUS_915 -_CLASS_C_", "All": "-DDEBUG -DUS_915"}'

0 comments on commit 5359d51

Please sign in to comment.