2021-11-04 02:00:19 +08:00
|
|
|
# SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
# For development, trigger this on any push.
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
name: Espressif
|
|
|
|
|
2021-12-17 21:35:59 +08:00
|
|
|
concurrency:
|
|
|
|
group: espressif-${{ github.event.pull_request.number || github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2021-11-04 02:00:19 +08:00
|
|
|
jobs:
|
|
|
|
environment:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2022-01-18 11:16:58 +08:00
|
|
|
targets: [esp32, esp32s2, esp32s3, esp32c3]
|
2021-12-10 04:05:10 +08:00
|
|
|
features:
|
|
|
|
- "sign-rsa2048,sign-rsa3072,sign-ec256,sign-ed25519"
|
2021-11-04 02:00:19 +08:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
env:
|
2021-12-29 01:05:52 +08:00
|
|
|
MCUBOOT_TARGETS: ${{ matrix.targets }}
|
2021-12-10 04:05:10 +08:00
|
|
|
MCUBOOT_FEATURES: ${{ matrix.features }}
|
2021-11-04 02:00:19 +08:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
submodules: recursive
|
|
|
|
- name: Print the environment
|
|
|
|
run: |
|
|
|
|
uname -a
|
|
|
|
lscpu
|
|
|
|
free
|
|
|
|
pwd
|
|
|
|
- name: Signed commit check
|
|
|
|
if: ${{ github.event_name == 'pull_request' }}
|
|
|
|
run: |
|
|
|
|
./ci/check-signed-off-by.sh
|
|
|
|
- name: Espressif install
|
|
|
|
run: |
|
|
|
|
./ci/espressif_install.sh
|
|
|
|
- name: Espressif run
|
|
|
|
run: |
|
|
|
|
./ci/espressif_run.sh
|