From 5359d51abca0383fabd52db21ffaa73e929ae253 Mon Sep 17 00:00:00 2001 From: Sabas Date: Sat, 2 Dec 2023 19:45:34 -0600 Subject: [PATCH] add build-properties --- .github/workflows/BuildLibrary.yml | 37 ++++++++++++++++++++++++------ 1 file changed, 30 insertions(+), 7 deletions(-) diff --git a/.github/workflows/BuildLibrary.yml b/.github/workflows/BuildLibrary.yml index f9790e9..5ae0552 100644 --- a/.github/workflows/BuildLibrary.yml +++ b/.github/workflows/BuildLibrary.yml @@ -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 @@ -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"}' +