Skip to content

Commit 0e64056

Browse files
authored
Create build.yml
1 parent 1a2fd05 commit 0e64056

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/build.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Build ESP32 Arduino Libraries
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
workflow_dispatch:
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
17+
- name: Install dependencies
18+
run: |
19+
sudo apt-get update
20+
sudo apt-get install -y git wget flex bison gperf python3 python3-pip python3-setuptools cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0
21+
22+
- name: Build libraries
23+
run: |
24+
./build.sh -t esp32,esp32s2,esp32c3,esp32s3 -b build
25+
26+
- name: Upload artifacts
27+
uses: actions/upload-artifact@v2
28+
with:
29+
name: esp32-arduino-libs
30+
path: esp32-arduino-libs

0 commit comments

Comments
 (0)