Skip to content

Commit 23421a6

Browse files
authored
Merge branch 'master' into compiler_flags_fix
2 parents d8865ba + 142fceb commit 23421a6

File tree

59 files changed

+1160
-368
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+1160
-368
lines changed

.github/scripts/install-platformio-esp32.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
export PLATFORMIO_ESP32_PATH="$HOME/.platformio/packages/framework-arduinoespressif32"
4-
PLATFORMIO_ESP32_URL="https://github.com/platformio/platform-espressif32.git#feature/arduino-idf-master"
4+
PLATFORMIO_ESP32_URL="https://github.com/platformio/platform-espressif32.git"
55

66
TOOLCHAIN_VERSION="8.4.0+2021r2-patch3"
77
ESPTOOLPY_VERSION="~1.30100.0"

.github/workflows/publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
if: |
1616
github.event.workflow_run.event == 'pull_request' &&
1717
(github.event.workflow_run.conclusion == 'success' ||
18-
(github.event.workflow_run.conclusion == 'failure')
18+
github.event.workflow_run.conclusion == 'failure')
1919
steps:
2020
- name: Download and Extract Artifacts
2121
env:

.github/workflows/push.yml

+27
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,30 @@ jobs:
7878
python-version: '3.x'
7979
- name: Build Sketches
8080
run: bash ./.github/scripts/on-push.sh 1 1 #equal and non-zero to trigger PIO
81+
82+
build-esp-idf-component:
83+
name: Build with ESP-IDF ${{ matrix.idf_ver }} for ${{ matrix.idf_target }}
84+
runs-on: ubuntu-20.04
85+
strategy:
86+
matrix:
87+
# The version names here correspond to the versions of espressif/idf Docker image.
88+
# See https://hub.docker.com/r/espressif/idf/tags and
89+
# https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/tools/idf-docker-image.html
90+
# for details.
91+
idf_ver: ["release-v4.4"]
92+
idf_target: ["esp32", "esp32s2", "esp32s3", "esp32c3"]
93+
container: espressif/idf:${{ matrix.idf_ver }}
94+
steps:
95+
- name: Check out arduino-esp32 as a component
96+
uses: actions/checkout@v2
97+
with:
98+
submodules: recursive
99+
path: components/arduino-esp32
100+
- name: Build
101+
env:
102+
IDF_TARGET: ${{ matrix.idf_target }}
103+
shell: bash
104+
run: |
105+
. ${IDF_PATH}/export.sh
106+
idf.py create-project test
107+
idf.py -C test -DEXTRA_COMPONENT_DIRS=$PWD/components build

0 commit comments

Comments
 (0)