Skip to content

Commit a3a833b

Browse files
authored
add ci build.yml (#475)
1 parent 076d907 commit a3a833b

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/build.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Build and Test
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v2
18+
19+
- name: Espressif IoT Development Framework (ESP-IDF)
20+
# You may pin to the exact commit or the version.
21+
# uses: espressif/esp-idf-ci-action@8cd22ae10042fadc37890e81e9988a9113e7b506
22+
uses: espressif/[email protected]
23+
with:
24+
# Relative path under $GITHUB_WORKSPACE to place the repository
25+
#path: # optional, default is
26+
# Version of ESP-IDF docker image to use
27+
esp_idf_version: release-v5.4
28+
# ESP32 variant to build for
29+
target: esp32s3
30+
# Command to run inside the docker container (default: builds the project)
31+
# command: # optional, default is idf.py build
32+

0 commit comments

Comments
 (0)