File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
2
+
3
+ on :
4
+ push :
5
+ branches : [ '*' ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v3
14
+ - name : Install Arduino CLI
15
+ uses : arduino/setup-arduino-cli@v1.1.1
16
+ - name : ZIP library
17
+ run : zip -r FlixPeriph.zip .
18
+ - name : Install arduino-cli.yaml
19
+ run : cp .github/workflows/arduino-cli.yaml ./
20
+ - name : Install ESP32 core
21
+ run : |
22
+ arduino-cli core update-index --config-file arduino-cli.yaml
23
+ arduino-cli core install esp32:esp32
24
+ - name : Install library
25
+ run : arduino-cli lib install --zip-path FlixPeriph.zip --config-file arduino-cli.yaml
26
+ - name : Build MPU9250 example for ESP32
27
+ run : cd examples/MPU9250 && arduino-cli compile --fqbn esp32:esp32:esp32
28
+ - name : Build MPU9250 example for ESP32 D1 Mini
29
+ run : cd examples/MPU9250 && arduino-cli compile --fqbn esp32:esp32:d1_mini
Original file line number Diff line number Diff line change
1
+ board_manager :
2
+ additional_urls :
3
+ - https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
4
+ library:
5
+ enable_unsafe_install : true
You can’t perform that action at this time.
0 commit comments