1# SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD 2# SPDX-License-Identifier: Apache-2.0 3 4# For development, trigger this on any push. 5on: 6 push: 7 branches: 8 - main 9 pull_request: 10 11name: Espressif 12 13concurrency: 14 group: espressif-${{ github.event.pull_request.number || github.ref }} 15 cancel-in-progress: true 16 17jobs: 18 environment: 19 strategy: 20 matrix: 21 targets: [esp32, esp32s2, esp32s3, esp32c3] 22 features: 23 - "secureboot-sign-rsa2048,secureboot-sign-rsa3072,secureboot-sign-ec256,secureboot-sign-ed25519" 24 - "serialrecovery" 25 include: 26 - targets: esp32 27 features: "multi-image,multi-boot" 28 img: "multi" 29 - targets: esp32s3 30 features: "multi-image,multi-boot" 31 img: "multi" 32 runs-on: ubuntu-latest 33 env: 34 MCUBOOT_TARGETS: ${{ matrix.targets }} 35 MCUBOOT_FEATURES: ${{ matrix.features }} 36 MCUBOOT_IMG_NUM: ${{ matrix.img }} 37 steps: 38 - uses: actions/checkout@v2 39 with: 40 fetch-depth: 0 41 submodules: recursive 42 - name: Print the environment 43 run: | 44 uname -a 45 lscpu 46 free 47 pwd 48 - name: Signed commit check 49 if: ${{ github.event_name == 'pull_request' }} 50 run: | 51 ./ci/check-signed-off-by.sh 52 - name: Espressif install 53 run: | 54 ./ci/espressif_install.sh 55 - name: Espressif run 56 run: | 57 ./ci/espressif_run.sh 58