kopia lustrzana https://github.com/micropython/micropython
37 wiersze
887 B
YAML
37 wiersze
887 B
YAML
name: esp32 port
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
paths:
|
|
- '.github/workflows/*.yml'
|
|
- 'tools/**'
|
|
- 'py/**'
|
|
- 'extmod/**'
|
|
- 'lib/**'
|
|
- 'drivers/**'
|
|
- 'ports/esp32/**'
|
|
|
|
jobs:
|
|
idf3_build:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Install packages
|
|
run: source tools/ci.sh && ci_esp32_idf3_setup && ci_esp32_idf3_path >> $GITHUB_PATH
|
|
- name: Build
|
|
env:
|
|
IDF_PATH: ${{ github.workspace }}/esp-idf
|
|
run: source tools/ci.sh && ci_esp32_idf3_build
|
|
|
|
idf4_build:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Install packages
|
|
run: source tools/ci.sh && ci_esp32_idf4_setup && ci_esp32_idf4_path >> $GITHUB_PATH
|
|
- name: Build
|
|
env:
|
|
IDF_PATH: ${{ github.workspace }}/esp-idf
|
|
run: source tools/ci.sh && ci_esp32_idf4_build
|