mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 10:53:17 +00:00
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: python device.py ${{ inputs.board_id }}
|
|
- name: 'Build'
|
|
uses: espressif/esp-idf-ci-action@v1
|
|
with:
|
|
esp_idf_version: v5.5
|
|
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: 30
|
|
- 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: 30
|