test building esp32s2 with docker

This commit is contained in:
hathach 2020-04-18 15:38:33 +07:00
parent 0b1b9a2b9e
commit 544f878033
No known key found for this signature in database
GPG Key ID: 2FA891220FBFD581

View File

@ -3,9 +3,21 @@ 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: failed
run: |
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
@ -23,6 +35,7 @@ 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:
@ -79,6 +92,7 @@ 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