22
22
python-version : 3.5
23
23
- name : Install deps
24
24
run : |
25
- sudo apt-get install -y gettext librsvg2-bin
25
+ sudo apt-get install -y eatmydata
26
+ sudo eatmydata apt-get install -y gettext librsvg2-bin mingw-w64
26
27
pip install requests sh click setuptools cpp-coveralls Sphinx sphinx-rtd-theme recommonmark sphinxcontrib-svg2pdfconverter polib pyyaml
27
28
- name : Versions
28
29
run : |
@@ -66,21 +67,73 @@ jobs:
66
67
run : python3 -u ci_new_boards_check.py
67
68
working-directory : tools
68
69
70
+ - name : Build mpy-cross.static-raspbian
71
+ run : make -C mpy-cross -j2 -f Makefile.static-raspbian
72
+
73
+ with :
74
+ name : mpy-cross.static-raspbian
75
+ path : mpy-cross/mpy-cross.static-raspbian
76
+
77
+ - name : Build mpy-cross.static
78
+ run : make -C mpy-cross -j2 -f Makefile.static
79
+
80
+ with :
81
+ name : mpy-cross.static-amd64-linux
82
+ path : mpy-cross/mpy-cross.static
83
+
84
+ - name : Build mpy-cross.static-mingw
85
+ run : make -C mpy-cross -j2 -f Makefile.static-mingw
86
+
87
+ with :
88
+ name : mpy-cross.static-x64-windows
89
+ path : mpy-cross/mpy-cross.static.exe
90
+
91
+ mpy-cross-mac :
92
+ runs-on : macos-latest
93
+ steps :
94
+ - name : Dump GitHub context
95
+ env :
96
+ GITHUB_CONTEXT : ${{ toJson(github) }}
97
+ run : echo "$GITHUB_CONTEXT"
98
+ - name : Install deps
99
+ run : |
100
+ brew link --force gettext
101
+ - name : Versions
102
+ run : |
103
+ gcc --version
104
+ python3 --version
105
+ msgfmt --version
106
+ - uses : actions/checkout@v1
107
+ with :
108
+ submodules : true
109
+ - name : CircuitPython version
110
+ run : git describe --dirty --always --tags
111
+ - name : Build mpy-cross
112
+ run : make -C mpy-cross -j2
113
+
114
+ with :
115
+ name : mpy-cross-macos-catalina
116
+ path : mpy-cross/mpy-cross
117
+
69
118
build-arm :
70
119
runs-on : ubuntu-16.04
71
120
needs : test
72
121
strategy :
73
122
fail-fast : false
74
123
matrix :
75
124
board :
125
+ - " TG-Watch02A"
76
126
- " aramcon_badge_2019"
77
127
- " arduino_mkr1300"
78
128
- " arduino_mkrzero"
79
129
- " arduino_nano_33_ble"
130
+ - " arduino_nano_33_iot"
80
131
- " arduino_zero"
81
132
- " bast_pro_mini_m0"
82
133
- " capablerobot_usbhub"
83
134
- " catwan_usbstick"
135
+ - " circuitbrains_basic_m0"
136
+ - " circuitbrains_deluxe_m4"
84
137
- " circuitplayground_bluefruit"
85
138
- " circuitplayground_express"
86
139
- " circuitplayground_express_crickit"
95
148
- " electronut_labs_blip"
96
149
- " electronut_labs_papyr"
97
150
- " escornabot_makech"
151
+ - " espruino_pico"
152
+ - " espruino_wifi"
153
+ - " feather_bluefruit_sense"
98
154
- " feather_m0_adalogger"
99
155
- " feather_m0_basic"
100
156
- " feather_m0_express"
@@ -103,6 +159,7 @@ jobs:
103
159
- " feather_m0_rfm9x"
104
160
- " feather_m0_supersized"
105
161
- " feather_m4_express"
162
+ - " feather_m7_1011"
106
163
- " feather_mimxrt1011"
107
164
- " feather_mimxrt1062"
108
165
- " feather_nrf52840_express"
@@ -113,19 +170,24 @@ jobs:
113
170
- " hallowing_m0_express"
114
171
- " hallowing_m4_express"
115
172
- " imxrt1010_evk"
173
+ - " imxrt1020_evk"
174
+ - " imxrt1060_evk"
116
175
- " itsybitsy_m0_express"
117
176
- " itsybitsy_m4_express"
118
177
- " itsybitsy_nrf52840_express"
119
178
- " kicksat-sprite"
120
179
- " makerdiary_nrf52840_mdk"
121
180
- " makerdiary_nrf52840_mdk_usb_dongle"
181
+ - " meowbit_v121"
122
182
- " meowmeow"
123
183
- " metro_m0_express"
124
184
- " metro_m4_airlift_lite"
125
185
- " metro_m4_express"
126
186
- " metro_nrf52840_express"
127
187
- " mini_sam_m4"
128
188
- " monster_m4sk"
189
+ - " ndgarage_ndbit6"
190
+ - " nfc_copy_cat"
129
191
- " ohs2020_badge"
130
192
- " openbook_m4"
131
193
- " particle_argon"
@@ -140,6 +202,7 @@ jobs:
140
202
- " pybadge"
141
203
- " pybadge_airlift"
142
204
- " pyboard_v11"
205
+ - " pycubed"
143
206
- " pygamer"
144
207
- " pygamer_advance"
145
208
- " pyportal"
@@ -158,17 +221,21 @@ jobs:
158
221
- " sparkfun_redboard_turbo"
159
222
- " sparkfun_samd21_dev"
160
223
- " sparkfun_samd21_mini"
224
+ - " sparkfun_samd51_thing_plus"
161
225
- " spresense"
162
226
- " stm32f411ce_blackpill"
163
227
- " stm32f411ve_discovery"
164
228
- " stm32f412zg_discovery"
229
+ - " stm32f4_discovery"
165
230
- " stringcar_m0_express"
231
+ - " teensy40"
166
232
- " teknikio_bluebird"
167
233
- " trellis_m4_express"
168
234
- " trinket_m0"
169
235
- " trinket_m0_haxpress"
170
236
- " uchip"
171
237
- " ugame10"
238
+ - " winterbloom_big_honking_button"
172
239
- " winterbloom_sol"
173
240
- " xinabox_cc03"
174
241
- " xinabox_cs11"
@@ -208,14 +275,4 @@ jobs:
208
275
env :
209
276
AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
210
277
AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
211
- if : github.event_name == 'push' || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
212
- - name : Install upload deps
213
- run : |
214
- pip install uritemplate
215
- - name : Upload to Release
216
- run : " [ -z \" $ADABOT_GITHUB_ACCESS_TOKEN\" ] || python3 -u upload_release_files.py"
217
- working-directory : tools
218
- env :
219
- UPLOAD_URL : ${{ github.event.release.upload_url }}
220
- ADABOT_GITHUB_ACCESS_TOKEN : ${{ secrets.BLINKA_GITHUB_ACCESS_TOKEN }}
221
- if : github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested')
278
+ if : github.event_name == 'push' || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
0 commit comments