everything seems fine, final test.
This commit is contained in:
parent
86a46f0467
commit
66bd68f1e9
|
@ -3,30 +3,9 @@ name: Build
|
||||||
on: [pull_request, push, repository_dispatch]
|
on: [pull_request, push, repository_dispatch]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# Build ESP32S
|
|
||||||
build-esp32s-docker:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@v1
|
|
||||||
|
|
||||||
- name: Pull ESP-IDF docker
|
|
||||||
run: docker pull espressif/idf:latest
|
|
||||||
|
|
||||||
- name: Checkout TinyUSB
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
submodules: 'false'
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: |
|
|
||||||
docker run --rm -v $PWD:/project -w /project espressif/idf:latest python3 tools/build_esp32s.py
|
|
||||||
exit 1
|
|
||||||
|
|
||||||
# Unit testing with Ceedling
|
# Unit testing with Ceedling
|
||||||
unit-test:
|
unit-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build-esp32s-docker
|
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Ruby
|
- name: Setup Ruby
|
||||||
uses: actions/setup-ruby@v1
|
uses: actions/setup-ruby@v1
|
||||||
|
@ -44,7 +23,6 @@ jobs:
|
||||||
# Build most of the ports
|
# Build most of the ports
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build-esp32s-docker
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -101,16 +79,12 @@ jobs:
|
||||||
# Build ESP32S
|
# Build ESP32S
|
||||||
build-esp32s:
|
build-esp32s:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build-esp32s-docker
|
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
|
|
||||||
- name: Install Toolchains
|
- name: Pull ESP-IDF docker
|
||||||
run: |
|
run: docker pull espressif/idf:latest
|
||||||
git clone --depth 1 https://github.com/espressif/esp-idf.git $HOME/esp-idf
|
|
||||||
cd $HOME/esp-idf
|
|
||||||
./install.sh
|
|
||||||
|
|
||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -118,6 +92,4 @@ jobs:
|
||||||
submodules: 'false'
|
submodules: 'false'
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: docker run --rm -v $PWD:/project -w /project espressif/idf:latest python3 tools/build_esp32s.py
|
||||||
. $HOME/esp-idf/export.sh
|
|
||||||
python3 tools/build_esp32s.py
|
|
||||||
|
|
Loading…
Reference in New Issue