- 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))
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
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.sh ${{ inputs.board_id }}
|
|
- name: 'Upload Artifact: Release'
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: tactility-${{ inputs.board_id }}
|
|
path: release/Tactility-${{ inputs.board_id }}
|
|
retention-days: 5
|
|
- name: 'Upload Artifact: Release symbols'
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: tactility-${{ inputs.board_id }}-symbols
|
|
path: release/Tactility-${{ inputs.board_id }}-symbols
|
|
retention-days: 5
|