Skip to content

Commit 126e208

Browse files
committed
Update non-release-build workflow for v3.0.0
1 parent f74cf94 commit 126e208

File tree

2 files changed

+14
-168
lines changed

2 files changed

+14
-168
lines changed

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

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ env:
99
FIRMWARE_VERSION_MINOR: 99
1010
POINTPERFECT_LBAND_TOKEN: ${{ secrets.POINTPERFECT_LBAND_TOKEN }}
1111
POINTPERFECT_IP_TOKEN: ${{ secrets.POINTPERFECT_IP_TOKEN }}
12-
CORE_VERSION: 2.0.11
12+
POINTPERFECT_LBAND_IP_TOKEN: ${{ secrets.POINTPERFECT_LBAND_IP_TOKEN }}
13+
CORE_VERSION: 3.0.1
1314

1415
jobs:
1516
build:
@@ -56,7 +57,7 @@ jobs:
5657
uses: arduino/setup-arduino-cli@v1
5758

5859
- name: Start config file
59-
run: arduino-cli config init --additional-urls "https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json"
60+
run: arduino-cli config init --additional-urls "https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json,https://espressif.github.io/arduino-esp32/package_esp32_dev_index.json"
6061

6162
- name: Update core index
6263
run: arduino-cli core update-index
@@ -73,31 +74,27 @@ jobs:
7374
7475
7576
"ESP32-OTA-Pull"@1.0.0
76-
7777
7878
7979
"SdFat"@2.1.1
8080
"SparkFun LIS2DH12 Arduino Library"@1.0.3
8181
"SparkFun MAX1704x Fuel Gauge Arduino Library"@1.0.4
82-
"SparkFun u-blox GNSS v3"@3.1.4
83-
82+
"SparkFun u-blox GNSS v3"@3.1.5
8483
"SparkFun Qwiic OLED Arduino Library"@1.0.13
8584
8685
"SparkFun Extensible Message Parser"@1.0.0
8786
"SparkFun BQ40Z50 Battery Manager Arduino Library"@1.0.0
8887
"ArduinoMqttClient"@0.1.8
88+
"SparkFun u-blox PointPerfect Library"@1.11.4
89+
"SparkFun IM19 IMU Arduino Library"@1.0.1
90+
"SparkFun UM980 Triband RTK GNSS Arduino Library"@1.0.4
91+
92+
# https://github.com/avinabmalla/ESP32_BleSerial/issues/15
93+
- name: Patch ESP32_BleSerial BLECharacteristic
94+
run: |
95+
cd Firmware/RTK_Everywhere/Patch/
96+
cp BleSerial.cpp /home/runner/Arduino/libraries/ESP32_BleSerial/src/BleSerial.cpp
8997
90-
- name: Enable external libs
91-
run: arduino-cli config set library.enable_unsafe_install true
92-
93-
- name: Get Libraries
94-
run: arduino-cli lib install --git-url
95-
https://${{ secrets.GET_PRIVATE_PPL_LIBRARY }}@github.com/sparkfun/SparkFun_u-blox_PointPerfect_Library.git
96-
https://${{ secrets.GET_PRIVATE_IM19_LIBRARY }}@github.com/sparkfun/SparkFun_IM19_IMU_Arduino_Library.git
97-
https://github.com/sparkfun/SparkFun_Unicore_GNSS_Arduino_Library.git
98-
https://github.com/me-no-dev/ESPAsyncWebServer.git
99-
https://github.com/me-no-dev/AsyncTCP.git
100-
10198
- name: Setup Python
10299
uses: actions/setup-python@v4
103100
with:
@@ -134,7 +131,7 @@ jobs:
134131
run: arduino-cli compile --fqbn "esp32:esp32:esp32":DebugLevel=${{ env.DEBUG_LEVEL }},PSRAM=enabled ./Firmware/RTK_Everywhere/RTK_Everywhere.ino
135132
--build-property build.partitions=RTKEverywhere
136133
--build-property upload.maximum_size=3145728
137-
--build-property "compiler.cpp.extra_flags=\"-DPOINTPERFECT_LBAND_TOKEN=$POINTPERFECT_LBAND_TOKEN\" \"-DPOINTPERFECT_IP_TOKEN=$POINTPERFECT_IP_TOKEN\" \"-DPOINTPERFECT_LBAND_IP_TOKEN=$POINTPERFECT_LBAND_IP_TOKEN\" \"-DFIRMWARE_VERSION_MAJOR=$FIRMWARE_VERSION_MAJOR\" \"-DFIRMWARE_VERSION_MINOR=$FIRMWARE_VERSION_MINOR\" \"-DENABLE_DEVELOPER=${{ env.ENABLE_DEVELOPER }}\""
134+
--build-property "compiler.cpp.extra_flags=-MMD -c \"-DPOINTPERFECT_LBAND_TOKEN=$POINTPERFECT_LBAND_TOKEN\" \"-DPOINTPERFECT_IP_TOKEN=$POINTPERFECT_IP_TOKEN\" \"-DPOINTPERFECT_LBAND_IP_TOKEN=$POINTPERFECT_LBAND_IP_TOKEN\" \"-DFIRMWARE_VERSION_MAJOR=$FIRMWARE_VERSION_MAJOR\" \"-DFIRMWARE_VERSION_MINOR=$FIRMWARE_VERSION_MINOR\" \"-DENABLE_DEVELOPER=${{ env.ENABLE_DEVELOPER }}\""
138135
--export-binaries
139136

140137
- name: Create artifact name

.github/workflows/non-release-build_v3.0.0.yml

Lines changed: 0 additions & 151 deletions
This file was deleted.

0 commit comments

Comments
 (0)