-
Notifications
You must be signed in to change notification settings - Fork 49
59 lines (54 loc) · 1.48 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: "Demo Build Checks"
env:
bashPass: \033[32;1mPASSED -
bashInfo: \033[33;1mINFO -
bashFail: \033[31;1mFAILED -
bashEnd: \033[0m
on:
push:
branches: ["**"]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
esp_idf_version:
- v5.0
- v5.1.2
- release-v5.2
- latest
esp_target:
- esp32
- esp32s2
- esp32s3
- esp32c3
steps:
- uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0
- env:
bashPass: \033[32;1mPASSED -
bashInfo: \033[33;1mINFO -
bashFail: \033[31;1mFAILED -
bashEnd: \033[0m
stepName: Perform Recursive Clone of esp-aws-iot
name: ${{ env.stepName }}
shell: bash
run: |
# ${{ env.stepName }}
echo -e "::group::${{ env.bashInfo }} ${{ env.stepName }} ${{ env.bashEnd }}"
git submodule update --checkout --init --recursive
echo -e "::endgroup::"
echo -e "${{ env.bashPass }} ${{ env.stepName }} ${{ env.bashEnd }}"
- name: Build for
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: ${{ matrix.esp_idf_version }}
target: ${{ matrix.esp_target }}
path: './'
command: python -m pip install --upgrade idf-component-manager && idf.py build