Improved build scripting and CI (#123)

- Simplified board ids/naming in all build scripting
- Implemented archiving of build artifacts for all devices in pipelines (including symbols releases for debugging)
- Implemented building and archiving of SDK for esp32 and esp32s3 in pipelines
- Flattened SDK release folder structure
- Renamed "Tactility-(ARCH)-SDK" to "TactilitySDK-(ARCH)" (aligns with "default" folder name, that's without the (ARCH))
This commit is contained in:
Ken Van Hoeylandt
2024-12-14 22:51:47 +01:00
committed by GitHub
parent a18221db08
commit f664de898d
12 changed files with 90 additions and 32 deletions
+10 -10
View File
@@ -14,21 +14,21 @@ function releaseSdk() {
SECONDS=0
build lilygo_tdeck
release lilygo_tdeck
build lilygo-tdeck
release lilygo-tdeck
releaseSdk release/Tactility-ESP32S3-SDK/TactilitySDK
releaseSdk release/TactilitySDK-esp32s3
build yellow_board
release yellow_board
build yellow-board
release yellow-board
releaseSdk release/Tactility-ESP32-SDK/TactilitySDK
releaseSdk release/TactilitySDK-esp32
build m5stack_core2
release m5stack_core2
build m5stack-core2
release m5stack-core2
build m5stack_cores3
release m5stack_cores3
build m5stack-cores3
release m5stack-cores3
duration=$SECONDS
+1 -1
View File
@@ -2,7 +2,7 @@
#
# Usage: build.sh [boardname]
# Example: build.sh lilygo_tdeck
# Example: build.sh lilygo-tdeck
# Description: Makes a clean build for the specified board.
#
-1
View File
@@ -1,6 +1,5 @@
#!/bin/sh
rm -rf build
rm -rf build-sim
rm -rf cmake-*
+3 -4
View File
@@ -2,7 +2,7 @@
#
# Usage: release.sh [boardname]
# Example: release.sh lilygo_tdeck
# Example: release.sh lilygo-tdeck
# Description: Releases the current build labeled as a release for the specified board name.
#
@@ -40,7 +40,6 @@ release() {
}
board=$1
board_clean=${board/_/-}
release_path=release
if [ $# -lt 1 ]; then
@@ -51,5 +50,5 @@ if [ ! -f $sdkconfig_file ]; then
fatalError "Board not found: ${sdkconfig_file}"
fi
release "${release_path}/Tactility-${board_clean}"
releaseSymbols "${release_path}/Tactility-${board_clean}-symbols"
release "${release_path}/Tactility-${board}"
releaseSymbols "${release_path}/Tactility-${board}-symbols"