Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sabas1080 committed Dec 13, 2023
1 parent 5ddc7ad commit f364c69
Showing 1 changed file with 84 additions and 11 deletions.
95 changes: 84 additions & 11 deletions .github/workflows/BuildLibrary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,26 +29,97 @@ jobs:
#############################################################################################################
arduino-boards-fqbn:
- arduino:avr:uno
- arduino:avr:leonardo
- arduino:avr:uno|All-US_915
- arduino:avr:leonardo|All-US_915
- arduino:samd:nano_33_iot|All-US_915
- arduino:samd:nano_33_iot
- arduino:mbed:nano33ble
- esp8266:esp8266:huzzah:eesz=4M3M,xtal=80
- arduino:mbed:nano33ble|All-US_915
- esp8266:esp8266:huzzah:eesz=4M3M,xtal=80|All-US_915
- rp2040:rp2040:generic|All-US_915
- esp32:esp32:esp32:FlashFreq=80
- esp32:esp32:featheresp32:FlashFreq=80|All-US_915

# 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

sketch-names: class_c_abp.ino,class_c_otaa_ack.ino # Comma separated list of sketch names (no path required) or patterns to use in build
build-properties:
class_c_abp:
-DDEBUG
-DEU_868
-D_CLASS_C_
class_c_otaa_ack:
-DDEBUG
-DEU_868
-D_CLASS_C_
All:
-DEU_868
-DDEBUG
- 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

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

- arduino-boards-fqbn: esp8266:esp8266:huzzah:eesz=4M3M,xtal=80
build-properties:
class_c_abp:
-DDEBUG
-DEU_868
-D_CLASS_C_
class_c_otaa_ack:
-DDEBUG
-DEU_868
-D_CLASS_C_
All:
-DEU_868
- 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: rp2040:rp2040:generic|All-US_915
platform-url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
build-properties:
All:
-DUS_915
-DDEBUG
- arduino-boards-fqbn: esp32:esp32:esp32:FlashFreq=80
platform-url: https://github.com/espressif/arduino-esp32/releases/download/3.0.0-alpha2/package_esp32_dev_index.json
extra-arduino-cli-args: "--warnings default"
build-properties:
class_c_abp:
-DEU_868
-D_CLASS_C_
class_c_otaa_ack:
-DEU_868
-D_CLASS_C_
All:
-DEU_868
- arduino-boards-fqbn: esp32:esp32:featheresp32:FlashFreq=80|All-US_915
platform-url: https://github.com/espressif/arduino-esp32/releases/download/3.0.0-alpha2/package_esp32_dev_index.json
extra-arduino-cli-args: "--warnings default"
build-properties:
All:
-DUS_915

# Do not cancel all jobs / architectures if one job fails
fail-fast: false
Expand All @@ -65,4 +136,6 @@ jobs:
with:
arduino-board-fqbn: ${{ matrix.arduino-boards-fqbn }}
platform-url: ${{ matrix.platform-url }}
examples-exclude: DetectingReaders
build-properties: ${{ toJson(matrix.build-properties) }}
extra-arduino-cli-args: ${{ matrix.extra-arduino-cli-args }}

0 comments on commit f364c69

Please sign in to comment.