-
-
Notifications
You must be signed in to change notification settings - Fork 59
48 lines (37 loc) · 1.4 KB
/
arduino.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
41
42
43
44
45
46
47
48
name: Arduino CI
on: [push, pull_request]
env:
ARDUINO_BOARD_MANAGER_ADDITIONAL_URLS: http://arduino.esp8266.com/stable/package_esp8266com_index.json
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Install Arduino CLI
uses: arduino/setup-arduino-cli@v1
- name: Install ESP8266
run: |
arduino-cli core update-index
arduino-cli core install esp8266:esp8266
- name: Install AirGradient Library
run: |
arduino-cli lib install "AirGradient Air Quality Sensor"@2.4.15
- name: Install Sensirion Core
run: |
arduino-cli lib install "Sensirion Core"@0.6.0
# https://github.com/Sensirion/arduino-core/
- name: Install Sensirion I2C SGP41
run: |
arduino-cli lib install "Sensirion I2C SGP41"@1.0.0
# https://github.com/Sensirion/arduino-i2c-sgp41
- name: Install Sensirion Gas Index Algorithm
run: |
arduino-cli lib install "Sensirion Gas Index Algorithm"@3.2.2
# https://github.com/Sensirion/arduino-gas-index-algorithm
- name: Install U8g2lib display library
run: |
arduino-cli lib install "U8g2"@2.34.22
# https://github.com/olikraus/u8g2
- name: Compile Sketch
run: arduino-cli compile --fqbn esp8266:esp8266:d1_mini ./AirGradient-DIY