-
-
Notifications
You must be signed in to change notification settings - Fork 32
40 lines (32 loc) · 837 Bytes
/
build.yaml
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
name: Build
on:
push:
branches:
- '**'
pull_request:
jobs:
env:
uses: ./.github/workflows/env.yaml
build:
name: Build for all platforms
runs-on: ubuntu-latest
needs: env
strategy:
matrix:
platform: [esp32, esp32s2, esp32s3]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: ${{ needs.env.outputs.esp_idf_version }}
target: ${{ matrix.platform }}
- name: Rename file
shell: bash
run: cp build/esp32-evse.bin ${{ matrix.platform }}-evse.bin
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: firmware-${{ matrix.platform }}
path: ${{ matrix.platform }}-evse.bin