1
1
name : Build Listener Clients
2
2
3
- on :
3
+ on :
4
4
push :
5
5
paths :
6
6
- ' listener_clients/**'
@@ -16,87 +16,87 @@ jobs:
16
16
name : Build M5StickC Listener
17
17
runs-on : ubuntu-latest
18
18
steps :
19
- - uses : actions/checkout@v4
20
- - uses : arduino/compile-sketches@v1
21
- with :
22
- platforms : |
23
- - name: esp32:esp32
24
- source-url: https://dl.espressif.com/dl/package_esp32_index.json
25
- fqbn : ' esp32:esp32:m5stick-c'
26
- libraries : |
27
- - source-url: https://github.com/m5stack/M5StickC/archive/refs/tags/0.2.9.zip
28
- - source-url: https://github.com/m5stack/M5StickC-Plus/archive/refs/tags/0.1.0.zip
29
- - name: WebSockets
30
- - name: WiFiManager
31
- - name: MultiButton
32
- - name: Arduino_JSON
33
- cli-compile-flags : |
34
- - --export-binaries
35
- sketch-paths : |
36
- - listener_clients/m5stickc-listener
37
- enable-deltas-report : true
38
- - name : Upload Artifact
39
- uses : actions/upload-artifact@v3
40
- with :
41
- name : ' TallyArbiter-Listener-M5StickC'
42
- path : ' listener_clients/m5stickc-listener/build/esp32.esp32.m5stick-c'
19
+ - uses : actions/checkout@v4
20
+ - uses : arduino/compile-sketches@v1
21
+ with :
22
+ platforms : |
23
+ - name: esp32:esp32
24
+ source-url: https://dl.espressif.com/dl/package_esp32_index.json
25
+ fqbn : ' esp32:esp32:m5stick-c'
26
+ libraries : |
27
+ - source-url: https://github.com/m5stack/M5StickC/archive/refs/tags/0.2.9.zip
28
+ - source-url: https://github.com/m5stack/M5StickC-Plus/archive/refs/tags/0.1.0.zip
29
+ - name: WebSockets
30
+ - name: WiFiManager
31
+ - name: MultiButton
32
+ - name: Arduino_JSON
33
+ cli-compile-flags : |
34
+ - --export-binaries
35
+ sketch-paths : |
36
+ - listener_clients/m5stickc-listener
37
+ enable-deltas-report : true
38
+ - name : Upload Artifact
39
+ uses : actions/upload-artifact@v3
40
+ with :
41
+ name : ' TallyArbiter-Listener-M5StickC'
42
+ path : ' listener_clients/m5stickc-listener/build/esp32.esp32.m5stick-c'
43
43
44
44
build_m5atom-listener :
45
45
name : Build M5Atom Listener
46
46
runs-on : ubuntu-latest
47
47
steps :
48
- - uses : actions/checkout@v4
49
- - uses : arduino/compile-sketches@v1
50
- with :
51
- platforms : |
52
- - name: esp32:esp32
53
- source-url: https://dl.espressif.com/dl/package_esp32_index.json
54
- fqbn : ' esp32:esp32:m5stack-atom'
55
- libraries : |
56
- - source-url: https://github.com/m5stack/M5Atom/archive/refs/tags/0.1.2.zip
57
- - name: WebSockets
58
- - name: WiFiManager
59
- - name: MultiButton
60
- - name: Arduino_JSON
61
- - name: FastLED
62
- cli-compile-flags : |
63
- - --export-binaries
64
- sketch-paths : |
65
- - listener_clients/M5AtomMatrix-listener/tallyarbiter-m5atom
66
- enable-deltas-report : true
67
- - name : Upload Artifact
68
- uses : actions/upload-artifact@v3
69
- with :
70
- name : ' TallyArbiter-Listener-M5Atom'
71
- path : ' listener_clients/M5AtomMatrix-listener/tallyarbiter-m5atom/build/esp32.esp32.m5stack-atom'
48
+ - uses : actions/checkout@v4
49
+ - uses : arduino/compile-sketches@v1
50
+ with :
51
+ platforms : |
52
+ - name: esp32:esp32
53
+ source-url: https://dl.espressif.com/dl/package_esp32_index.json
54
+ fqbn : ' esp32:esp32:m5stack-atom'
55
+ libraries : |
56
+ - source-url: https://github.com/m5stack/M5Atom/archive/refs/tags/0.1.2.zip
57
+ - name: WebSockets
58
+ - name: WiFiManager
59
+ - name: MultiButton
60
+ - name: Arduino_JSON
61
+ - name: FastLED
62
+ cli-compile-flags : |
63
+ - --export-binaries
64
+ sketch-paths : |
65
+ - listener_clients/M5AtomMatrix-listener/tallyarbiter-m5atom
66
+ enable-deltas-report : true
67
+ - name : Upload Artifact
68
+ uses : actions/upload-artifact@v3
69
+ with :
70
+ name : ' TallyArbiter-Listener-M5Atom'
71
+ path : ' listener_clients/M5AtomMatrix-listener/tallyarbiter-m5atom/build/esp32.esp32.m5stack-atom'
72
72
73
73
build_esp32-neopixel-listener :
74
74
name : Build ESP32 NeoPixel Listener
75
75
runs-on : ubuntu-latest
76
76
steps :
77
- - uses : actions/checkout@v4
78
- - uses : arduino/compile-sketches@v1
79
- with :
80
- platforms : |
81
- - name: esp32:esp32
82
- source-url: https://dl.espressif.com/dl/package_esp32_index.json
83
- fqbn : ' esp32:esp32:esp32'
84
- libraries : |
85
- - name: WebSockets
86
- - name: WiFiManager
87
- - name: MultiButton
88
- - name: Arduino_JSON
89
- - name: Adafruit NeoPixel
90
- cli-compile-flags : |
91
- - --export-binaries
92
- sketch-paths : |
93
- - listener_clients/esp32-neopixel-listener
94
- enable-deltas-report : true
95
- - name : Upload Artifact
96
- uses : actions/upload-artifact@v3
97
- with :
98
- name : ' TallyArbiter-Listener-ESP32-NeoPixel'
99
- path : ' listener_clients/esp32-neopixel-listener/build/esp32.esp32.esp32'
77
+ - uses : actions/checkout@v4
78
+ - uses : arduino/compile-sketches@v1
79
+ with :
80
+ platforms : |
81
+ - name: esp32:esp32
82
+ source-url: https://dl.espressif.com/dl/package_esp32_index.json
83
+ fqbn : ' esp32:esp32:esp32'
84
+ libraries : |
85
+ - name: WebSockets
86
+ - name: WiFiManager
87
+ - name: MultiButton
88
+ - name: Arduino_JSON
89
+ - name: Adafruit NeoPixel
90
+ cli-compile-flags : |
91
+ - --export-binaries
92
+ sketch-paths : |
93
+ - listener_clients/esp32-neopixel-listener
94
+ enable-deltas-report : true
95
+ - name : Upload Artifact
96
+ uses : actions/upload-artifact@v3
97
+ with :
98
+ name : ' TallyArbiter-Listener-ESP32-NeoPixel'
99
+ path : ' listener_clients/esp32-neopixel-listener/build/esp32.esp32.esp32'
100
100
101
101
build_TTGO-listener :
102
102
strategy :
@@ -114,79 +114,79 @@ jobs:
114
114
name : Build ${{ matrix.board.name }} Listener
115
115
runs-on : ubuntu-latest
116
116
steps :
117
- - uses : actions/checkout@v4
118
- - name : Setup TFT_eSPI and select User Setup
119
- run : |
120
- git clone https://github.com/Bodmer/TFT_eSPI/
121
- cd TFT_eSPI
122
- sed -i 's/#include <User_Setup.h>/\/\/#include <User_Setup.h>/g' User_Setup_Select.h
123
- sed -i 's/\/\/#include <User_Setups\/Setup22_TTGO_T4.h>/#include <User_Setups\/Setup22_TTGO_T4.h>/g' User_Setup_Select.h
124
- - uses : arduino/compile-sketches@v1
125
- with :
126
- platforms : |
127
- - name: esp32:esp32
128
- source-url: https://dl.espressif.com/dl/package_esp32_index.json
129
- fqbn : ${{ matrix.board.fqbn }}
130
- libraries : |
131
- - name: WebSockets
132
- - name: WiFiManager
133
- - name: MultiButton
134
- - name: Arduino_JSON
135
- - source-path: TFT_eSPI
136
- cli-compile-flags : |
137
- - --export-binaries
138
- sketch-paths : |
139
- - listener_clients/TTGO_T-listener
140
- enable-deltas-report : true
141
- - name : Get FQBN build dir for ${{ matrix.board.name }}
142
- run : |
143
- RAW_FQBN="${{ matrix.board.fqbn }}"
144
- FQBN_REPLACED=$(echo $RAW_FQBN | sed 's/:/./g')
145
- echo "FQBN_REPLACED=$FQBN_REPLACED" >> $GITHUB_ENV
146
- - name : Upload Artifact
147
- uses : actions/upload-artifact@v3
148
- with :
149
- name : ' TallyArbiter-Listener-${{ matrix.board.name }}'
150
- path : ' listener_clients/TTGO_T-listener/build/${{ env.FQBN_REPLACED }}'
117
+ - uses : actions/checkout@v4
118
+ - name : Setup TFT_eSPI and select User Setup
119
+ run : |
120
+ git clone https://github.com/Bodmer/TFT_eSPI/
121
+ cd TFT_eSPI
122
+ sed -i 's/#include <User_Setup.h>/\/\/#include <User_Setup.h>/g' User_Setup_Select.h
123
+ sed -i 's/\/\/#include <User_Setups\/Setup22_TTGO_T4.h>/#include <User_Setups\/Setup22_TTGO_T4.h>/g' User_Setup_Select.h
124
+ - uses : arduino/compile-sketches@v1
125
+ with :
126
+ platforms : |
127
+ - name: esp32:esp32
128
+ source-url: https://dl.espressif.com/dl/package_esp32_index.json
129
+ fqbn : ${{ matrix.board.fqbn }}
130
+ libraries : |
131
+ - name: WebSockets
132
+ - name: WiFiManager
133
+ - name: MultiButton
134
+ - name: Arduino_JSON
135
+ - source-path: TFT_eSPI
136
+ cli-compile-flags : |
137
+ - --export-binaries
138
+ sketch-paths : |
139
+ - listener_clients/TTGO_T-listener
140
+ enable-deltas-report : true
141
+ - name : Get FQBN build dir for ${{ matrix.board.name }}
142
+ run : |
143
+ RAW_FQBN="${{ matrix.board.fqbn }}"
144
+ FQBN_REPLACED=$(echo $RAW_FQBN | sed 's/:/./g')
145
+ echo "FQBN_REPLACED=$FQBN_REPLACED" >> $GITHUB_ENV
146
+ - name : Upload Artifact
147
+ uses : actions/upload-artifact@v3
148
+ with :
149
+ name : ' TallyArbiter-Listener-${{ matrix.board.name }}'
150
+ path : ' listener_clients/TTGO_T-listener/build/${{ env.FQBN_REPLACED }}'
151
151
152
152
analyse_blink1-listener :
153
153
name : Analyse Blink1 Listener
154
154
runs-on : ubuntu-latest
155
155
steps :
156
- - uses : actions/checkout@v4
157
- - name : Install prosepector
158
- run : pip install prospector[with_everything]
159
- - name : Analyse
160
- working-directory : listener_clients/blink1-listener
161
- run : prospector -W pyroma -0
156
+ - uses : actions/checkout@v4
157
+ - name : Install prosepector
158
+ run : pip install prospector[with_everything]
159
+ - name : Analyse
160
+ working-directory : listener_clients/blink1-listener
161
+ run : prospector -W pyroma -0
162
162
163
163
analyse_blinkt-listener :
164
164
name : Analyse Pimoroni Blinkt Listener
165
165
runs-on : ubuntu-latest
166
166
steps :
167
- - uses : actions/checkout@v4
168
- - name : Install prosepector
169
- run : pip install prospector[with_everything]
170
- - name : Analyse
171
- working-directory : listener_clients/pimoroni-blinkt-listener
172
- run : prospector -W pyroma -0
167
+ - uses : actions/checkout@v4
168
+ - name : Install prosepector
169
+ run : pip install prospector[with_everything]
170
+ - name : Analyse
171
+ working-directory : listener_clients/pimoroni-blinkt-listener
172
+ run : prospector -W pyroma -0
173
173
174
174
analyse_gpo-listener :
175
175
name : Analyse GPO Listener
176
176
runs-on : ubuntu-latest
177
177
steps :
178
- - uses : actions/checkout@v4
179
- - name : Install prosepector
180
- run : pip install prospector[with_everything]
181
- - name : Analyse
182
- working-directory : listener_clients/gpo-listener
183
- run : prospector -W pyroma -0
178
+ - uses : actions/checkout@v4
179
+ - name : Install prosepector
180
+ run : pip install prospector[with_everything]
181
+ - name : Analyse
182
+ working-directory : listener_clients/gpo-listener
183
+ run : prospector -W pyroma -0
184
184
185
185
analyse_relay-listener :
186
186
name : Analyse Relay Listener
187
187
runs-on : ubuntu-latest
188
188
steps :
189
- - uses : actions/checkout@v4
189
+ - uses : actions/checkout@v4
190
190
# - name: Install dependencies
191
191
# working-directory: listener_clients/relay-listener
192
192
# run: |
0 commit comments