-
Notifications
You must be signed in to change notification settings - Fork 117
177 lines (164 loc) · 11.7 KB
/
main.yml
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
name: RAK BSP Arduino Build CI
on: [pull_request, push, repository_dispatch]
jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/setup-python@v2
with:
python-version: '3.8'
- uses: actions/checkout@v2
- uses: actions/checkout@v2
with:
repository: RAKWireless/WisBlock-CI
path: ci
- name: pre-install
run: bash ci/actions_install.sh
- name: extra libraries
run: |
/home/runner/work/WisBlock/WisBlock/bin/arduino-cli lib install SX126x-Arduino
/home/runner/work/WisBlock/WisBlock/bin/arduino-cli lib install WisBlock-API
/home/runner/work/WisBlock/WisBlock/bin/arduino-cli lib install Arduino_LPS22HB
/home/runner/work/WisBlock/WisBlock/bin/arduino-cli lib install ArduinoRS485
/home/runner/work/WisBlock/WisBlock/bin/arduino-cli lib install ArduinoModbus
/home/runner/work/WisBlock/WisBlock/bin/arduino-cli lib install SD
/home/runner/work/WisBlock/WisBlock/bin/arduino-cli lib install modbus-esp8266
/home/runner/work/WisBlock/WisBlock/bin/arduino-cli lib install MPU9250_WE
# /home/runner/work/WisBlock/WisBlock/bin/arduino-cli lib install "SparkFun ADXL313 Arduino Library"
git clone --quiet https://github.com/sparkfun/SparkFun_SCD30_Arduino_Library
mv SparkFun_SCD30_Arduino_Library /home/runner/Arduino/libraries/SparkFun_SCD30_Arduino_Library
git clone --quiet https://github.com/adafruit/Adafruit-MCP23017-Arduino-Library
mv Adafruit-MCP23017-Arduino-Library /home/runner/Arduino/libraries/Adafruit-MCP23017-Arduino-Library
git clone --quiet https://github.com/sparkfun/SparkFun_SHTC3_Arduino_Library
mv SparkFun_SHTC3_Arduino_Library /home/runner/Arduino/libraries/SparkFun_SHTC3_Arduino_Library
git clone --quiet https://github.com/closedcube/ClosedCube_OPT3001_Arduino
mv ClosedCube_OPT3001_Arduino /home/runner/Arduino/libraries/ClosedCube_OPT3001_Arduino
git clone --quiet https://github.com/sparkfun/SparkFun_LIS3DH_Arduino_Library
mv SparkFun_LIS3DH_Arduino_Library /home/runner/Arduino/libraries/SparkFun_LIS3DH_Arduino_Library
git clone --quiet https://github.com/adafruit/Adafruit_Sensor
mv Adafruit_Sensor /home/runner/Arduino/libraries/Adafruit_Sensor
git clone --quiet https://github.com/adafruit/Adafruit_BME680
mv Adafruit_BME680 /home/runner/Arduino/libraries/Adafruit_BME680
git clone --quiet https://github.com/BoschSensortec/BSEC-Arduino-library
mv BSEC-Arduino-library /home/runner/Arduino/libraries/BSEC-Arduino-library
git clone --quiet https://github.com/adafruit/Adafruit_TCS34725
mv Adafruit_TCS34725 /home/runner/Arduino/libraries/Adafruit_TCS34725
git clone --quiet https://github.com/hideakitai/TCS34725
mv TCS34725 /home/runner/Arduino/libraries/TCS34725
git clone --quiet https://github.com/sparkfun/SparkFun_TMP102_Arduino_Library
mv SparkFun_TMP102_Arduino_Library /home/runner/Arduino/libraries/SparkFun_TMP102_Arduino_Library
git clone --quiet https://github.com/sparkfun/SparkFun_SGP30_Arduino_Library
mv SparkFun_SGP30_Arduino_Library /home/runner/Arduino/libraries/SparkFun_SGP30_Arduino_Library
git clone --quiet https://github.com/neosarchizo/TinyGPS
mv TinyGPS /home/runner/Arduino/libraries/TinyGPS
/home/runner/work/WisBlock/WisBlock/bin/arduino-cli lib install U8g2
/home/runner/work/WisBlock/WisBlock/bin/arduino-cli lib install nRF52_OLED
git clone --quiet https://github.com/adafruit/Adafruit-GFX-Library
mv Adafruit-GFX-Library /home/runner/Arduino/libraries/Adafruit-GFX-Library
git clone --quiet https://github.com/sparkfun/SparkFun_MLX90632_Arduino_Library
mv SparkFun_MLX90632_Arduino_Library /home/runner/Arduino/libraries/SparkFun_MLX90632_Arduino_Library
git clone --quiet https://github.com/sparkfun/SparkFun_u-blox_GNSS_Arduino_Library
mv SparkFun_u-blox_GNSS_Arduino_Library /home/runner/Arduino/libraries/SparkFun_u-blox_GNSS_Arduino_Library
git clone --quiet https://github.com/adafruit/Adafruit_FRAM_I2C
mv Adafruit_FRAM_I2C /home/runner/Arduino/libraries/Adafruit_FRAM_I2C
git clone --quiet https://github.com/adafruit/Adafruit_SPIFlash --branch 3.5.1
mv Adafruit_SPIFlash /home/runner/Arduino/libraries/Adafruit_SPIFlash
git clone --quiet https://github.com/sparkfun/SparkFun_ADXL313_Arduino_Library
mv SparkFun_ADXL313_Arduino_Library /home/runner/Arduino/libraries/SparkFun_ADXL313_Arduino_Library
git clone --quiet https://github.com/adafruit/SdFat
mv SdFat /home/runner/Arduino/libraries/SdFat
git clone --quiet https://github.com/adafruit/Adafruit_LPS2X
mv Adafruit_LPS2X /home/runner/Arduino/libraries/Adafruit_LPS2X
git clone --quiet https://github.com/adafruit/Adafruit_EPD
mv Adafruit_EPD /home/runner/Arduino/libraries/Adafruit_EPD
git clone --quiet https://github.com/adafruit/Adafruit_BusIO --branch 1.9.6
mv Adafruit_BusIO /home/runner/Arduino/libraries/Adafruit_BusIO
git clone --quiet https://github.com/adafruit/Adafruit_SSD1306
mv Adafruit_SSD1306 /home/runner/Arduino/libraries/Adafruit_SSD1306
git clone --quiet https://github.com/knolleary/pubsubclient
mv pubsubclient /home/runner/Arduino/libraries/pubsubclient
git clone --quiet https://github.com/arduino-libraries/Arduino_JSON
mv Arduino_JSON /home/runner/Arduino/libraries/Arduino_JSON
git clone --quiet https://github.com/adafruit/Adafruit_FRAM_I2C
mv Adafruit_FRAM_I2C /home/runner/Arduino/libraries/Adafruit_FRAM_I2C
git clone --quiet https://github.com/melopero/Melopero_RV-3028_Arduino_Library
mv Melopero_RV-3028_Arduino_Library /home/runner/Arduino/libraries/Melopero_RV-3028_Arduino_Library
git clone --quiet https://github.com/janelia-arduino/PCA9685
mv PCA9685 /home/runner/Arduino/libraries/PCA9685
git clone --quiet https://github.com/sparkfun/SparkFun_MAX3010x_Sensor_Library
mv SparkFun_MAX3010x_Sensor_Library /home/runner/Arduino/libraries/SparkFun_MAX3010x_Sensor_Library
git clone --quiet https://github.com/wollewald/INA219_WE
mv INA219_WE /home/runner/Arduino/libraries/INA219_WE
git clone --quiet https://github.com/stm32duino/VL53L0X
mv VL53L0X /home/runner/Arduino/libraries/VL53L0X
git clone --quiet https://github.com/stm32duino/Proximity_Gesture
mv Proximity_Gesture /home/runner/Arduino/libraries/Proximity_Gesture
git clone --quiet https://github.com/acrandal/RevEng_PAJ7620
mv RevEng_PAJ7620 /home/runner/Arduino/libraries/RevEng_PAJ7620
git clone --quiet https://github.com/Seeed-Studio/Seeed_LTC2941
mv Seeed_LTC2941 /home/runner/Arduino/libraries/Seeed_LTC2941
git clone --quiet https://github.com/arduino-libraries/ArduinoMqttClient
mv ArduinoMqttClient /home/runner/Arduino/libraries/ArduinoMqttClient
git clone --quiet https://github.com/Sensirion/arduino-i2c-sgp40
mv arduino-i2c-sgp40 /home/runner/Arduino/libraries/arduino-i2c-sgp40
git clone --quiet https://github.com/sensirion/arduino-gas-index-algorithm
mv arduino-gas-index-algorithm /home/runner/Arduino/libraries/arduino-gas-index-algorithm
git clone --quiet https://github.com/sensirion/arduino-core
mv arduino-core /home/runner/Arduino/libraries/arduino-core
git clone --quiet https://github.com/alessandro1105/D7S_Arduino_Library
mv D7S_Arduino_Library /home/runner/Arduino/libraries/D7S_Arduino_Library
# ESP32 specific libraries
git clone --quiet https://github.com/h2zero/NimBLE-Arduino
mv NimBLE-Arduino /home/runner/Arduino/libraries/NimBLE-Arduino
git clone --quiet https://github.com/emelianov/modbus-esp8266
mv modbus-esp8266 /home/runner/Arduino/libraries/modbus-esp8266
git clone --quiet https://github.com/marian-craciunescu/ESP32Ping
mv ESP32Ping /home/runner/Arduino/libraries/ESP32Ping
git clone --quiet https://github.com/marian-craciunescu/ESP32Ping
mv ESP32Ping /home/runner/Arduino/libraries/ESP32Ping
git clone --quiet https://github.com/vishnumaiea/R30X-Fingerprint-Sensor-Library
mv R30X-Fingerprint-Sensor-Library /home/runner/Arduino/libraries/R30X-Fingerprint-Sensor-Library
# RAKwireless libraries
git clone --quiet https://github.com/RAKWireless/RAK13005-TLE7259-Library
mv RAK13005-TLE7259-Library /home/runner/Arduino/libraries/RAK13005-TLE7259-Library
git clone --quiet https://github.com/RAKWireless/RAK-MQx-Library
mv RAK-MQx-Library /home/runner/Arduino/libraries/RAK-MQx-Library
git clone --quiet https://github.com/RAKWireless/RAK14001-NCP5623-Library
mv RAK14001-NCP5623-Library /home/runner/Arduino/libraries/RAK14001-NCP5623-Library
git clone --quiet https://github.com/RAKWireless/RAK14002-CAP1293-Library
mv RAK14002-CAP1293-Library /home/runner/Arduino/libraries/RAK14002-CAP1293-Library
git clone --quiet https://github.com/RAKWireless/RAK-ADS7830-Library
mv RAK-ADS7830-Library /home/runner/Arduino/libraries/RAK-ADS7830-Library
git clone --quiet https://github.com/RAKWireless/RAK12010-VEML7700-Library
mv RAK12010-VEML7700-Library /home/runner/Arduino/libraries/RAK12010-VEML7700-Library
git clone --quiet https://github.com/RAKWireless/RAK13600-PN532
mv RAK13600-PN532 /home/runner/Arduino/libraries/RAK13600-PN532
git clone --quiet https://github.com/RAKWireless/RAK12019_LTR390
mv RAK12019_LTR390 /home/runner/Arduino/libraries/RAK12019_LTR390
git clone --quiet https://github.com/RAKWireless/RAK13600-PN532
mv RAK13600-PN532 /home/runner/Arduino/libraries/RAK13600-PN532
git clone --quiet https://github.com/RAKWireless/RAK14012-LED-Matrix
mv RAK14012-LED-Matrix /home/runner/Arduino/libraries/RAK14012-LED-Matrix
git clone --quiet https://github.com/RAKWireless/RAK12021-TCS37725
mv RAK12021-TCS37725 /home/runner/Arduino/libraries/RAK12021-TCS37725
git clone --quiet https://github.com/RAKWireless/RAK12025-I3G4250D
mv RAK12025-I3G4250D /home/runner/Arduino/libraries/RAK12025-I3G4250D
git clone --quiet https://github.com/RAKWireless/RAK12035_SoilMoisture
mv RAK12035_SoilMoisture /home/runner/Arduino/libraries/RAK12035_SoilMoisture
git clone --quiet https://github.com/RAKWireless/RAKwireless_Storage
mv RAKwireless_Storage /home/runner/Arduino/libraries/RAKwireless_Storage
git clone --quiet https://github.com/RAKWireless/RAK12034-BMX160
mv RAK12034-BMX160 /home/runner/Arduino/libraries/RAK12034-BMX160
git clone --quiet https://github.com/RAKWireless/RAK12033-IIM42652
mv RAK12033-IIM42652 /home/runner/Arduino/libraries/RAK12033-IIM42652
git clone --quiet https://github.com/RAKWireless/RAK13006-MCP2518
mv RAK13006-MCP2518 /home/runner/Arduino/libraries/RAK13006-MCP2518
/home/runner/work/WisBlock/WisBlock/bin/arduino-cli lib install RAK13800_W5100S
/home/runner/work/WisBlock/WisBlock/bin/arduino-cli lib install RAK12029-LDC1614
/home/runner/work/WisBlock/WisBlock/bin/arduino-cli lib install RAKwireless-Audio-library
/home/runner/work/WisBlock/WisBlock/bin/arduino-cli lib install RAK12039_PM_Sensor
/home/runner/work/WisBlock/WisBlock/bin/arduino-cli lib install RAKwireless_SDI-12
/home/runner/work/WisBlock/WisBlock/bin/arduino-cli lib install RAK13801_UWB
/home/runner/work/WisBlock/WisBlock/bin/arduino-cli lib install RAK12027-D7S
- name: test platforms
run: python3 ci/build_platform.py rak4631 rak11200 rak11300