Skip to content

Commit 11f9608

Browse files
authored
Create build.yml
1 parent 0e3bfb4 commit 11f9608

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/build.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
targets: [esp32s2, esp32s3]
13+
steps:
14+
- name: Checkout repo
15+
uses: actions/checkout@v4
16+
- name: ESP-IDF Build
17+
uses: espressif/esp-idf-ci-action@v1
18+
with:
19+
esp_idf_version: v5.1.2
20+
target: ${{ matrix.targets }}
21+
- name: Package binaries
22+
uses: actions/upload-artifact@v4
23+
with:
24+
name: ${{ matrix.targets }}_binaries
25+
path: |
26+
build/esp32_u2f.bin
27+
build/partition_table/partition-table.bin
28+
build/bootloader/bootloader.bin

0 commit comments

Comments
 (0)