Update release yml #124
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |