-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
219 changed files
with
10,355 additions
and
6,166 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,12 +10,11 @@ on: | |
id: | ||
description: The ID of the platform on which the build is run | ||
required: true | ||
default: arduino:avr:uno | ||
default: arduino:avr:mega | ||
type: choice | ||
options: | ||
- all | ||
- none | ||
- arduino:avr:uno | ||
- arduino:avr:mega | ||
- arduino:mbed:nano33ble | ||
- arduino:mbed:envie_m4 | ||
|
@@ -27,7 +26,6 @@ on: | |
- esp32:esp32:esp32 | ||
- esp8266:esp8266:generic | ||
- Intel:arc32:arduino_101 | ||
- SparkFun:apollo3:sfe_artemis | ||
- STMicroelectronics:stm32:GenF3:pnum=BLACKPILL_F303CC | ||
- STMicroelectronics:stm32:Nucleo_64:pnum=NUCLEO_WL55JC1 | ||
- stm32duino:STM32F1:mapleMini | ||
|
@@ -45,8 +43,6 @@ jobs: | |
matrix: | ||
# platform-dependent settings - extra board options, board index URLs, skip patterns etc. | ||
include: | ||
- id: arduino:avr:uno | ||
run: echo "skip-pattern=(STM32WL|SSTV|LoRaWAN|LR11x0_Firmware_Update|Pager)" >> $GITHUB_OUTPUT | ||
- id: arduino:avr:mega | ||
run: | | ||
echo "options=':cpu=atmega2560'" >> $GITHUB_OUTPUT | ||
|
@@ -79,16 +75,13 @@ jobs: | |
- id: esp32:esp32:esp32 | ||
run: | | ||
python -m pip install pyserial | ||
echo "version=2.0.17" >> $GITHUB_OUTPUT | ||
echo "index-url=--additional-urls https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json" >> $GITHUB_OUTPUT | ||
- id: esp8266:esp8266:generic | ||
run: | | ||
echo "skip-pattern=(STM32WL|LR11x0_Firmware_Update)" >> $GITHUB_OUTPUT | ||
echo "options=':xtal=80,ResetMethod=ck,CrystalFreq=26,FlashFreq=40,FlashMode=qio,eesz=512K'" >> $GITHUB_OUTPUT | ||
echo "index-url=--additional-urls http://arduino.esp8266.com/stable/package_esp8266com_index.json" >> $GITHUB_OUTPUT | ||
- id: SparkFun:apollo3:sfe_artemis | ||
run: | | ||
echo "skip-pattern=(STM32WL|LoRaWAN)" >> $GITHUB_OUTPUT | ||
echo "warnings='none'" >> $GITHUB_OUTPUT | ||
echo "index-url=--additional-urls https://raw.githubusercontent.com/sparkfun/Arduino_Apollo3/master/package_sparkfun_apollo3_index.json" >> $GITHUB_OUTPUT | ||
- id: STMicroelectronics:stm32:GenF3:pnum=BLACKPILL_F303CC | ||
run: | | ||
echo "index-url=--additional-urls https://raw.githubusercontent.com/stm32duino/BoardManagerFiles/main/package_stmicroelectronics_index.json" >> $GITHUB_OUTPUT | ||
|
@@ -106,7 +99,7 @@ jobs: | |
- id: MegaCoreX:megaavr:4809 | ||
run: | | ||
echo "index-url=--additional-urls https://mcudude.github.io/MegaCoreX/package_MCUdude_MegaCoreX_index.json" >> $GITHUB_OUTPUT | ||
echo "skip-pattern=(STM32WL|LR11x0_Firmware_Update)" >> $GITHUB_OUTPUT | ||
echo "skip-pattern=(STM32WL|LR11x0_Firmware_Update|LoRaWAN)" >> $GITHUB_OUTPUT | ||
- id: arduino:mbed_rp2040:pico | ||
- id: rp2040:rp2040:rpipico | ||
run: echo "index-url=--additional-urls https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json" >> $GITHUB_OUTPUT | ||
|
@@ -129,9 +122,12 @@ jobs: | |
runs-on: ubuntu-latest | ||
name: ${{ matrix.id }} | ||
env: | ||
run-build: ${{ (inputs.id != 'none' && matrix.id == 'arduino:avr:uno') || contains(github.event.head_commit.message, 'CI_BUILD_ALL') || contains(github.event.head_commit.message, 'Bump version to') || contains(github.event.head_commit.message, format('{0}', matrix.id)) || inputs.id == 'all' || inputs.id == matrix.id }} | ||
run-build: ${{ (inputs.id != 'none' && matrix.id == 'arduino:avr:mega') || contains(github.event.head_commit.message, 'CI_BUILD_ALL') || contains(github.event.head_commit.message, 'Bump version to') || contains(github.event.head_commit.message, format('{0}', matrix.id)) || inputs.id == 'all' || inputs.id == matrix.id }} | ||
|
||
steps: | ||
- name: Free Disk Space (Ubuntu) | ||
uses: jlumbroso/[email protected] | ||
|
||
- name: Install arduino-cli | ||
if: ${{ env.run-build == 'true' }} | ||
run: | ||
|
@@ -166,7 +162,11 @@ jobs: | |
run: | ||
| | ||
arduino-cli core update-index ${{ format('{0}', steps.prep.outputs.index-url) }} | ||
arduino-cli core install ${{ format('{0}:{1} {2}', steps.split.outputs._0, steps.split.outputs._1, steps.prep.outputs.index-url) }} | ||
if [ -z '${{ steps.prep.outputs.version }}' ]; then | ||
arduino-cli core install ${{ format('{0}:{1} {2}', steps.split.outputs._0, steps.split.outputs._1, steps.prep.outputs.index-url) }} | ||
else | ||
arduino-cli core install ${{ format('{0}:{1}@{3} {2}', steps.split.outputs._0, steps.split.outputs._1, steps.prep.outputs.index-url, steps.prep.outputs.version) }} | ||
fi | ||
|
||
- name: Checkout repository | ||
if: ${{ env.run-build == 'true' }} | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.