Skip to content

Commit

Permalink
ci(boards): Add cache for libs
Browse files Browse the repository at this point in the history
  • Loading branch information
P-R-O-C-H-Y committed Jun 17, 2024
1 parent cbf1e94 commit 946bb6d
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/boards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,19 @@ jobs:
exit 1;
fi
- name: Get libs cache
uses: actions/cache@v4
with:
key: libs-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('package/package_esp32_index.template.json', 'tools/get.py') }}
path: |
./tools/dist
./tools/esp32-arduino-libs
./tools/esptool
./tools/mk*
./tools/openocd-esp32
./tools/riscv32-*
./tools/xtensa-*
- name: Compile sketch
uses: P-R-O-C-H-Y/compile-sketches@main
with:
Expand All @@ -73,3 +86,4 @@ jobs:
exit-on-fail: true
sketch-paths:
"- ./libraries/ESP32/examples/CI/CIBoardsTest/CIBoardsTest.ino"
verbose: true
53 changes: 53 additions & 0 deletions boards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36821,3 +36821,56 @@ aslcanx2.menu.EraseFlash.all=Enabled
aslcanx2.menu.EraseFlash.all.upload.erase_cmd=-e

##############################################################

esp32test.name=ESP32 TEST CI

esp32test.bootloader.tool=esptool_py
esp32test.bootloader.tool.default=esptool_py

esp32test.upload.tool=esptool_py
esp32test.upload.tool.default=esptool_py
esp32test.upload.tool.network=esp_ota

esp32test.upload.maximum_size=1310720
esp32test.upload.maximum_data_size=327680
esp32test.upload.wait_for_upload_port=true
esp32test.upload.flags=
esp32test.upload.extra_flags=

esp32test.serial.disableDTR=true
esp32test.serial.disableRTS=true

esp32test.build.tarch=xtensa
esp32test.build.bootloader_addr=0x1000
esp32test.build.target=esp32
esp32test.build.mcu=esp32
esp32test.build.core=esp32
esp32test.build.variant=esp32
esp32test.build.board=ESP32_TEST

esp32test.build.f_cpu=240000000L
esp32test.build.flash_mode=dio
esp32test.build.flash_size=16MB
esp32test.build.boot=dio
esp32test.build.partitions=default
esp32test.build.defines=

esp32test.menu.FlashFreq.80=80MHz
esp32test.menu.FlashFreq.80.build.flash_freq=80m

esp32test.menu.PartitionScheme.default=Default (6.25MB APP/OTA/3.43MB SPIFFS)
esp32test.menu.PartitionScheme.default.build.partitions=default_16MB
esp32test.menu.PartitionScheme.default.upload.maximum_size=6553600

esp32test.menu.UploadSpeed.921600=921600
esp32test.menu.UploadSpeed.921600.upload.speed=921600

esp32test.menu.DebugLevel.none=None
esp32test.menu.DebugLevel.none.build.code_debug=0

esp32test.menu.EraseFlash.none=Disabled
esp32test.menu.EraseFlash.none.upload.erase_cmd=
esp32test.menu.EraseFlash.all=Enabled
esp32test.menu.EraseFlash.all.upload.erase_cmd=-e

##############################################################

0 comments on commit 946bb6d

Please sign in to comment.