Roman Okhrimenko | dc0ca08 | 2023-06-21 20:49:51 +0300 | [diff] [blame] | 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. |
| 5 | on: |
| 6 | push: |
| 7 | branches: |
| 8 | - main |
| 9 | pull_request: |
| 10 | |
| 11 | name: Espressif |
| 12 | |
| 13 | concurrency: |
| 14 | group: espressif-${{ github.event.pull_request.number || github.ref }} |
| 15 | cancel-in-progress: true |
| 16 | |
| 17 | jobs: |
| 18 | environment: |
| 19 | strategy: |
| 20 | matrix: |
| 21 | targets: [esp32, esp32s2, esp32s3, esp32c3] |
| 22 | features: |
| 23 | - "sign-rsa2048,sign-rsa3072,sign-ec256,sign-ed25519" |
| 24 | runs-on: ubuntu-latest |
| 25 | env: |
| 26 | MCUBOOT_TARGETS: ${{ matrix.targets }} |
| 27 | MCUBOOT_FEATURES: ${{ matrix.features }} |
| 28 | steps: |
| 29 | - uses: actions/checkout@v2 |
| 30 | with: |
| 31 | fetch-depth: 0 |
| 32 | submodules: recursive |
| 33 | - name: Print the environment |
| 34 | run: | |
| 35 | uname -a |
| 36 | lscpu |
| 37 | free |
| 38 | pwd |
| 39 | - name: Signed commit check |
| 40 | if: ${{ github.event_name == 'pull_request' }} |
| 41 | run: | |
| 42 | ./ci/check-signed-off-by.sh |
| 43 | - name: Espressif install |
| 44 | run: | |
| 45 | ./ci/espressif_install.sh |
| 46 | - name: Espressif run |
| 47 | run: | |
| 48 | ./ci/espressif_run.sh |