mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-14 04:18:56 +00:00
ci test
This commit is contained in:
parent
ef7992ce65
commit
c64db32b82
34
.github/workflows/build_esp32s.yml
vendored
Normal file
34
.github/workflows/build_esp32s.yml
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
name: Build ESP32S
|
||||
|
||||
on: [pull_request, push, repository_dispatch]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
example: ['cdc_msc_freertos']
|
||||
|
||||
steps:
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v1
|
||||
|
||||
- name: Install Toolchains
|
||||
run: |
|
||||
# ESP IDF
|
||||
git clone --depth 1 https://github.com/espressif/esp-idf.git $HOME/esp-idf
|
||||
cd $HOME/esp-idf
|
||||
./install.sh
|
||||
|
||||
- name: Checkout TinyUSB
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
# Cannot do submodule checkout here since LWIP's git server cannot checkout unadventised commits (it must use tags)
|
||||
submodules: 'false'
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
. $HOME/esp-idf/export.sh
|
||||
python3 tools/build_all.py ${{ matrix.example }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user