
* add name field to usbd_class_driver_t * ci: use set matrix py script * add riscv32 and cmake support for ch32v307, fomu, gd32vf103 * update build_cmake.py to take --family --board --toolchain * separate hil test to its own workflow * move esp32 board into separated hil json * add make build to ci * remov build_make.py * build.py support esp32 board * setup toolchain support esp-idf * fix missing click * merge family in matrix build to reduce jobs * skip cifuzz since it still has issue with get_deps and click
32 lines
710 B
YAML
32 lines
710 B
YAML
name: Setup Toolchain
|
|
|
|
inputs:
|
|
toolchain:
|
|
required: true
|
|
type: string
|
|
toolchain_url:
|
|
required: false
|
|
type: string
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Install ARM GCC
|
|
if: inputs.toolchain == 'arm-gcc'
|
|
uses: carlosperate/arm-none-eabi-gcc-action@v1
|
|
with:
|
|
release: '12.3.Rel1'
|
|
|
|
- name: Pull ESP-IDF docker
|
|
if: inputs.toolchain == 'esp-idf'
|
|
run: docker pull espressif/idf:latest
|
|
shell: bash
|
|
|
|
- name: Download Toolchain
|
|
if: >-
|
|
inputs.toolchain != 'arm-gcc' &&
|
|
inputs.toolchain != 'esp-idf'
|
|
uses: ./.github/actions/setup_toolchain/download
|
|
with:
|
|
toolchain_url: ${{ inputs.toolchain_url }}
|