mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 10:53:17 +00:00
38 lines
884 B
YAML
38 lines
884 B
YAML
name: Build
|
|
|
|
inputs:
|
|
board-name:
|
|
description: The name of the board
|
|
required: true
|
|
version:
|
|
description: The name of the board
|
|
required: true
|
|
sdkconfig:
|
|
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 ${{ inputs.sdkconfig }} sdkconfig
|
|
- name: 'Build'
|
|
uses: espressif/esp-idf-ci-action@main
|
|
with:
|
|
esp_idf_version: v5.3.1
|
|
target: ${{ inputs.arch }}
|
|
path: './'
|
|
- name: 'Upload Artifact'
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: tactility-${{ inputs.board-name }}-${{ inputs.version }}
|
|
path: build/Tactility.bin
|
|
retention-days: 5
|