Skip to content

Commit

Permalink
Update CI workflow to cache esp32 downloads and install to correct lo…
Browse files Browse the repository at this point in the history
…cation
  • Loading branch information
calvinmorrow committed Oct 18, 2023
1 parent cf8ae05 commit 278ab81
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,16 @@ jobs:
- name: Install Arduino Tools
run: sudo apt-get install -y arduino arduino-core-avr

- name: Cache esp32 Dependencies
uses: actions/cache@v3
with:
path: libraries/arduino-esp32/tools/dist/
key: ${{ runner.os }}-${{ hashFiles('.gitmodules') }}

- name: Install esp32 Tools
run: python3 libraries/arduino-esp32/tools/get.py
run: |
cd libraries/arduino-esp32/tools/
python3 get.py
# Recursively build all sketches with Makefiles
- name: Compile Sketches
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule "libs/dcs-bios-arduino-library"]
[submodule "libraries/dcs-bios-arduino-library"]
path = libraries/dcs-bios-arduino-library
url = https://github.com/DCS-Skunkworks/dcs-bios-arduino-library.git
[submodule "libraries/Arduino_Boards"]
Expand Down

0 comments on commit 278ab81

Please sign in to comment.