-
Notifications
You must be signed in to change notification settings - Fork 3
57 lines (55 loc) · 1.53 KB
/
build.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
name: Build
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
environments:
- "espgeigerhw"
- "espgeigerlite"
- "espgeigerlog"
- "esp32_pulse"
- "esp32_pulse_no_pcnt"
- "esp32_test"
- "esp32_testpulse"
- "esp32_test_gc10"
- "esp32_test_mightyohm"
- "esp32_gc10"
- "esp32_gc10next"
- "esp8266_pulse"
- "esp8266_pulsemin"
- "esp8266_test"
- "esp8266_testpulse"
- "esp8266_test_gc10"
- "esp8266_test_mightyohm"
- "esp8266_gc10"
- "esp8266_gc10next"
- "esp8266oled_gc10"
- "esp32oled_gc10"
- "esp8266oled_gc10next"
- "esp32oled_gc10next"
- "esp8266oled_pulse"
- "esp32_cajoe_iotgm"
runs-on: ubuntu-latest
name: Build with PlatformIO
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Install platformio
run: |
python -m pip install --upgrade pip
pip install platformio
- name: Run PlatformIO
run: platformio run -e ${{ matrix.environments }}
- name: Upload Assets
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.environments }}
path: |
.pio/build/*/firmware.bin
.pio/build/*/firmware_merged.bin
retention-days: 7