Skip to content

Commit f22a93b

Browse files
committed
Update workflows
1 parent 82eade4 commit f22a93b

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/workflows/compile-rtk-everywhere.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
- name: Install platform
6969
run: arduino-cli core install esp32:esp32@${{ env.CORE_VERSION }}
7070

71-
-name: Get IDF version
71+
- name: Get IDF version
7272
run: |
7373
cd /home/runner/.arduino15/packages/esp32/tools/esp32-arduino-libs
7474
$IDF_VERSION = echo "$(ls | grep idf-release)"

.github/workflows/non-release-build.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ jobs:
6868
- name: Install platform
6969
run: arduino-cli core install esp32:esp32@${{ env.CORE_VERSION }}
7070

71+
- name: Get IDF version
72+
run: |
73+
cd /home/runner/.arduino15/packages/esp32/tools/esp32-arduino-libs
74+
$IDF_VERSION = echo "$(ls | grep idf-release)"
75+
echo "ESP_IDF=${IDF_VERSION}" >> "$GITHUB_ENV"
76+
7177
- name: Get Known Libraries
7278
run: arduino-cli lib install
7379
@@ -95,6 +101,14 @@ jobs:
95101
cd Firmware/RTK_Everywhere/Patch/
96102
cp BleSerial.cpp /home/runner/Arduino/libraries/ESP32_BleSerial/src/BleSerial.cpp
97103
104+
- name: Patch libmbedtls
105+
run: |
106+
cd Firmware/RTK_Everywhere/Patch/
107+
cp libmbedtls.a /home/runner/.arduino15/packages/esp32/tools/esp32-arduino-libs/${{ env.ESP_IDF }}/esp32/lib/libmbedtls.a
108+
cp libmbedtls_2.a /home/runner/.arduino15/packages/esp32/tools/esp32-arduino-libs/${{ env.ESP_IDF }}/esp32/lib/libmbedtls_2.a
109+
cp libmbedcrypto.a /home/runner/.arduino15/packages/esp32/tools/esp32-arduino-libs/${{ env.ESP_IDF }}/esp32/lib/libmbedcrypto.a
110+
cp libmbedx509.a /home/runner/.arduino15/packages/esp32/tools/esp32-arduino-libs/${{ env.ESP_IDF }}/esp32/lib/libmbedx509.a
111+
98112
- name: Setup Python
99113
uses: actions/setup-python@v4
100114
with:

0 commit comments

Comments
 (0)