30 lines
765 B
YAML
30 lines
765 B
YAML
name: Thomas the tank engine - Build and Artifact the ESP-IDF Project
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v4
|
|
with:
|
|
submodules: "recursive"
|
|
- name: esp-idf build
|
|
uses: espressif/esp-idf-ci-action@v1
|
|
with:
|
|
esp_idf_version: v5.2.1
|
|
target: esp32s3
|
|
- name: Archive build output artifacts
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: build
|
|
path: |
|
|
build/bootloader/bootloader.bin
|
|
build/partition_table/partition-table.bin
|
|
build/${{ github.event.repository.name }}.bin
|
|
build/${{ github.event.repository.name }}.elf
|