diff options
| author | hathach <[email protected]> | 2020-04-18 17:11:36 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-04-18 17:11:36 +0700 |
| commit | 66bd68f1e9d9607e8af3392f9f2a199eaad08895 (patch) | |
| tree | 9e1046762c1a8ab89fefab4fff840075d99d2b56 /.github/workflows | |
| parent | 86a46f0467696f532c956c7525d17a06740bd7c5 (diff) | |
everything seems fine, final test.
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 34 |
1 files changed, 3 insertions, 31 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2fec38faf..9eebfaaf4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,30 +3,9 @@ name: Build on: [pull_request, push, repository_dispatch] 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-test: runs-on: ubuntu-latest - needs: build-esp32s-docker steps: - name: Setup Ruby uses: actions/setup-ruby@v1 @@ -44,7 +23,6 @@ jobs: # Build most of the ports build: runs-on: ubuntu-latest - needs: build-esp32s-docker strategy: fail-fast: false matrix: @@ -101,16 +79,12 @@ jobs: # Build ESP32S build-esp32s: runs-on: ubuntu-latest - needs: build-esp32s-docker steps: - name: Setup Python uses: actions/setup-python@v1 - - name: Install Toolchains - run: | - git clone --depth 1 https://github.com/espressif/esp-idf.git $HOME/esp-idf - cd $HOME/esp-idf - ./install.sh + - name: Pull ESP-IDF docker + run: docker pull espressif/idf:latest - name: Checkout TinyUSB uses: actions/checkout@v2 @@ -118,6 +92,4 @@ jobs: submodules: 'false' - name: Build - run: | - . $HOME/esp-idf/export.sh - python3 tools/build_esp32s.py + run: docker run --rm -v $PWD:/project -w /project espressif/idf:latest python3 tools/build_esp32s.py |
