forked from fredlcore/BSB-LAN
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (36 loc) · 1.18 KB
/
platformio-esp32.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
name: PlatformIO CI ESP32
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python_version:
- "3.8"
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python_version }}
- name: Cache
uses: actions/cache@v2
with:
path: |
~/.cache/pip
~/.platformio
key: ${{ runner.os }}-python${{ matrix.python_version }}
- name: Install dependencies
run: |
pip install --upgrade pip
pip install --upgrade platformio
platformio update
# Ethernet library
platformio lib -g install 872
- name: Setup config
run: |
rm -R BSB_LAN/src/WiFiSpi
cp BSB_LAN/BSB_LAN_config.h.default BSB_LAN/BSB_LAN_config.h
- name: Run PlatformIO CI
run: platformio ci --project-option="platform = https://github.com/platformio/platform-espressif32.git#feature/arduino-upstream" --project-option="platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git" --board=esp32-evb ./BSB_LAN