-
-
Notifications
You must be signed in to change notification settings - Fork 9
47 lines (42 loc) · 1.89 KB
/
build-ci.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
name: build-ci
on: [pull_request, push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: esp-idf setup
run: bash ./.github/ci/idf-setup.sh
- name: build ESP32S3_FREENOVE
id: ESP32S3FREENOVE
run: bash ./.github/ci/ESP32S3_FREENOVE.sh
continue-on-error: true
- name: build ESP32_ROTRICS_DEXARM35
id: ESP32ROTRICSDEXARM35
run: bash ./.github/ci/ESP32_ROTRICS_DEXARM35.sh
continue-on-error: true
- name: build ESP32S3_HMI43V3
id: ESP32S3HMI43V3
run: bash ./.github/ci/ESP32S3_HMI43V3.sh
continue-on-error: true
- name: build ZX3D50CE02S-SRC-4832
id: ZX3D50CE02SRC4832
run: bash ./.github/ci/ZX3D50CE02S-SRC-4832.sh
continue-on-error: true
- name: build ESP32S3_8048S070C
id: ESP32S38048S070C
run: bash ./.github/ci/ESP32S3_8048S070C.sh
continue-on-error: true
- name: Final check failure
env:
STEPS_CONTEXT: ${{ toJson(steps) }}
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
if: steps.ESP32S3FREENOVE.outcome == 'failure' || steps.ESP32ROTRICSDEXARM35.outcome == 'failure'|| steps.ESP32S3HMI43V3.outcome == 'failure'|| steps.ZX3D50CE02SRC4832.outcome == 'failure' || steps.ESP32S38048S070C.outcome == 'failure'
run: bash ./.github/ci/final-check.sh "$GITHUB_RUN_ID" "failure"
- name: Final check failure
env:
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
if: steps.ESP32S3FREENOVE.outcome == 'success' && steps.ESP32ROTRICSDEXARM35.outcome == 'success' && steps.ESP32S3HMI43V3.outcome == 'success' && steps.ZX3D50CE02SRC4832.outcome == 'success' && steps.ESP32S38048S070C.outcome == 'success'
run: bash ./.github/ci/final-check.sh "$GITHUB_RUN_ID" "success"