Skip to content

Commit

Permalink
Add Arduino-ESP32 Install
Browse files Browse the repository at this point in the history
  • Loading branch information
justcallmekoko committed Nov 19, 2024
1 parent 36617f1 commit 941128f
Showing 1 changed file with 39 additions and 15 deletions.
54 changes: 39 additions & 15 deletions .github/workflows/build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,54 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v3

- name: Install ESP32 Boards and Compile TestFile
# - name: Install ESP32 Boards and Compile TestFile
# uses: ArminJo/[email protected]
# with:
# sketch-names: TestFile.ino
# arduino-board-fqbn: esp32:esp32:esp32s2
# platform-url: https://github.com/espressif/arduino-esp32/releases/download/2.0.10/package_esp32_dev_index.json

- name: Install Arduino CLI
run: |
# Install arduino-cli
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sudo bash
sudo apt-get install arduino-cli
- name: Install Arduino-ESP32 Core v2.0.11
run: |
# Install Arduino-ESP32 v2.0.11 explicitly
arduino-cli core update-index
arduino-cli core install esp32:[email protected]
- name: Verify Installed Cores
run: arduino-cli core list

- name: Build TestFile with ESP32 v2.0.11
uses: ArminJo/[email protected]
with:
sketch-names: TestFile.ino
arduino-board-fqbn: esp32:esp32:esp32s2
platform-url: https://github.com/espressif/arduino-esp32/releases/download/2.0.10/package_esp32_dev_index.json

- name: Verify Installed Cores Again
run: arduino-cli core list

- name: Show Arduino dir structure
run: |
find /home/runner/.arduino15/packages/esp32/hardware/
- name: Pull arduino-esp32 v2.0.4
uses: actions/checkout@v2
with:
repository: espressif/arduino-esp32
ref: 2.0.4
path: 2.0.4arduino-esp32

- name: Pull arduino-esp32 v2.0.10
uses: actions/checkout@v2
with:
repository: espressif/arduino-esp32
ref: 2.0.10
path: 2.0.10
# - name: Pull arduino-esp32 v2.0.4
# uses: actions/checkout@v2
# with:
# repository: espressif/arduino-esp32
# ref: 2.0.4
# path: 2.0.4arduino-esp32

# - name: Pull arduino-esp32 v2.0.10
# uses: actions/checkout@v2
# with:
# repository: espressif/arduino-esp32
# ref: 2.0.10
# path: 2.0.10

- name: Install AsyncTCP
uses: actions/checkout@v2
Expand Down

0 comments on commit 941128f

Please sign in to comment.