Skip to content

Commit de4f4ce

Browse files
authored
Update Build Pipeline (ClusterDuck-Protocol#444)
* update pipeline actions, radiolib, and cpp standard Signed-off-by: faradaym <rcheyenne.truss@gmail.com> * change checkout action to v4 Signed-off-by: faradaym <rcheyenne.truss@gmail.com> --------- Signed-off-by: faradaym <rcheyenne.truss@gmail.com>
1 parent 7d606d8 commit de4f4ce

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

.github/workflows/arduino_ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
steps:
3030
- name: Checkout code
31-
uses: actions/checkout@v2
31+
uses: actions/checkout@v4
3232

3333
- name: System setup
3434
run: |
@@ -42,7 +42,7 @@ jobs:
4242
- name: Run cppcheck
4343
run: |
4444
cppcheck --version
45-
cppcheck --error-exitcode=1 --std=c++11 --force src
45+
cppcheck --error-exitcode=1 --std=c++20 --force src
4646
4747
- name: Arduino setup
4848
run: |
@@ -119,7 +119,7 @@ jobs:
119119
buildExampleSketch 1.Ducks DuckLink
120120
buildExampleSketch 1.Ducks MamaDuck
121121
- name: Upload build log
122-
uses: actions/upload-artifact@v2
122+
uses: actions/upload-artifact@v3
123123
if: always()
124124
with:
125125
name: build-log

examples/5.Custom-Board/DuckLink/my-boards/heltec-cubecell-gps/pio_cubecell_gps.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
bblanchon/ArduinoJson@^7.0.3
1515

1616
build_flags =
17-
-std=c++11
17+
-std=c++20
1818
-Dtypeof=decltype
1919
-DCubeCell_GPS
2020
-DCDP_EXTERNAL_BOARD

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"olikraus/U8g2": "^2.35.9",
3636
"bblanchon/ArduinoJson": "^7.0.3",
3737
"bakercp/CRC32": "2.0.0",
38-
"jgromes/RadioLib": "^6.4.2",
38+
"jgromes/RadioLib": "^6.6.0",
3939
"operatorfoundation/Crypto": "^0.4.0",
4040
"me-no-dev/AsyncTCP": "^1.1.1",
4141
"mathieucarbou/ESP Async WebServer": "^2.7.0",

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ paragraph=The ClusterDuck Protocol is an open-source project under The Linux Fou
77
category=Communication
88
url=https://github.com/ClusterDuck-Protocol/ClusterDuck-Protocol
99
architectures=*
10-
depends=arduino-timer,U8g2,ArduinoJson,CRC32,RadioLib,Crypto,AsyncTCP,ESP Async WebServer,PubSubClient,TinyGPSPlus
10+
depends=arduino-timer,U8g2,ArduinoJson,CRC32,RadioLib@6.6.0,Crypto,AsyncTCP,ESP Async WebServer,PubSubClient,TinyGPSPlus
1111
includes=CDP.h

platformio.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@
5050
olikraus/U8g2@^2.35.9
5151
bblanchon/ArduinoJson@^7.0.3
5252
bakercp/CRC32@^2.0.0
53-
RadioLib@6.4.2
53+
RadioLib@6.6.0
5454
adafruit/Adafruit BusIO@^1.14.1
5555
adafruit/Adafruit GFX Library@^1.11.5
5656
adafruit/Adafruit SSD1306 @ ^2.5.7
5757
https://github.com/OperatorFoundation/Crypto.git
5858

5959
build_flags =
60-
-std=c++11
60+
-std=c++20
6161
-Wno-inconsistent-missing-override
6262
-Wno-missing-field-initializers
6363
-Wno-format

src/config/cdp_common_test.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99

1010
build_flags =
1111
${cdp_common.build_flags}
12-
-std=gnu++11 ; Unity doesn't allow GNU extensions. Change from -std=c++11 to -std=gnu++11
12+
-std=gnu++20 ; Unity doesn't allow GNU extensions. Change from -std=c++11 to -std=gnu++11
1313
-DUNIT_TEST

0 commit comments

Comments
 (0)