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:
committed by
GitHub
parent
a18221db08
commit
f664de898d
@@ -0,0 +1,34 @@
|
||||
name: Build
|
||||
|
||||
inputs:
|
||||
board_id:
|
||||
description: The sdkconfig file to build
|
||||
required: true
|
||||
arch:
|
||||
description: The ESP32 SOC variant
|
||||
required: true
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: 'Board select'
|
||||
shell: bash
|
||||
run: cp sdkconfig.board.${{ inputs.board_id }} sdkconfig
|
||||
- name: 'Build'
|
||||
uses: espressif/esp-idf-ci-action@main
|
||||
with:
|
||||
esp_idf_version: v5.3.1
|
||||
target: ${{ inputs.arch }}
|
||||
path: './'
|
||||
- name: 'Release'
|
||||
shell: bash
|
||||
run: Buildscripts/release-sdk.sh release/TactilitySDK
|
||||
- name: 'Upload Artifact'
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: TactilitySDK-${{ inputs.arch }}
|
||||
path: release/TactilitySDK
|
||||
retention-days: 5
|
||||
Reference in New Issue
Block a user