try build script with docker

This commit is contained in:
hathach 2020-04-18 16:58:51 +07:00
parent 474404f6f1
commit 7a025c9282
1 changed files with 3 additions and 4 deletions

View File

@ -10,8 +10,8 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v1
#- name: Docker ESP-IDF
# run: docker pull espressif/idf:latest
- name: Pull ESP-IDF docker
run: docker pull espressif/idf:latest
- name: Checkout TinyUSB
uses: actions/checkout@v2
@ -21,8 +21,7 @@ jobs:
- name: Build
run: |
cd examples/device/cdc_msc_freertos
docker run --rm -v $PWD:/project -w /project espressif/idf:latest idf.py build
#python3 tools/build_esp32s.py
docker run --rm -v $PWD:/project -w /project espressif/idf:latest python3 tools/build_esp32s.py
exit 1
# Unit testing with Ceedling