File tree Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build Examples
2
+ on :
3
+ workflow_call : {}
4
+ workflow_dispatch : {}
5
+ jobs :
6
+ build-examples :
7
+ name : Build Examples
8
+ runs-on : ubuntu-latest
9
+ strategy :
10
+ fail-fast : false
11
+ matrix :
12
+ # Add additional targets later
13
+ device : [esp32s3]
14
+ steps :
15
+ - name : Checkout
16
+ uses : actions/checkout@v4
17
+ with : { submodules: recursive }
18
+ - name : Build Examples
19
+ uses : espressif/esp-idf-ci-action@v1
20
+ with :
21
+ esp_idf_version : v5.4
22
+ command : |
23
+ export WIFI_SSID="---"
24
+ export WIFI_PASSWORD="---"
25
+ export LK_SERVER_URL="---"
26
+ export LK_TOKEN="---"
27
+ pip install idf-build-apps
28
+ idf-build-apps build -p ./examples --recursive --target ${{ matrix.device }}
Original file line number Diff line number Diff line change
1
+ name : CI
2
+ on :
3
+ schedule :
4
+ - cron : 0 0 * * 1
5
+ workflow_dispatch :
6
+ pull_request :
7
+ types : [opened, reopened, synchronize]
8
+ push :
9
+ branches : [main]
10
+ concurrency :
11
+ group : " ci"
12
+ cancel-in-progress : true
13
+ jobs :
14
+ build-examples :
15
+ name : Build Examples
16
+ uses : ./.github/workflows/build_examples.yml
You can’t perform that action at this time.
0 commit comments