Skip to content

Commit c586a09

Browse files
authored
Merge pull request adafruit#1889 from ladyada/master
Add artifact generation on CI
2 parents c622016 + dc85286 commit c586a09

File tree

14 files changed

+10
-6
lines changed

14 files changed

+10
-6
lines changed

.github/workflows/githubci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
arduino-platform: ["cpb", "cpc", "cpx_ada", "esp32", "esp8266", "feather32u4", "feather_m0_express", "feather_m4_express", "feather_rp2040", "flora", "funhouse", "gemma", "gemma_m0", "hallowing_m0", "hallowing_m4_tinyusb", "magtag", "metro_m0", "metro_m0_tinyusb", "metro_m4", "metro_m4_tinyusb", "monster_m4sk", "monster_m4sk_tinyusb", "neokeytrinkey_m0", "neotrellis_m4", "nrf52832", "nrf52840", "protrinket_5v", "proxlighttrinkey_m0", "pybadge", "pygamer", "pyportal", "qt2040_trinkey", "qtpy_m0", "rotarytrinkey_m0", "slidetrinkey_m0", "trinket_m0", "uno", "trinket_5v" ]
11-
# "trinket_5v", was removed
10+
arduino-platform: ["cpb", "cpc", "cpx_ada", "esp32", "esp8266", "feather32u4", "feather_m0_express", "feather_m4_express", "feather_rp2040", "flora", "funhouse", "gemma", "gemma_m0", "hallowing_m0", "hallowing_m4_tinyusb", "magtag", "metro_m0", "metro_m0_tinyusb", "metro_m4", "metro_m4_tinyusb", "monster_m4sk", "monster_m4sk_tinyusb", "neokeytrinkey_m0", "neotrellis_m4", "nrf52832", "nrf52840", "protrinket_5v", "proxlighttrinkey_m0", "pybadge", "pygamer", "pyportal", "qt2040_trinkey", "qtpy_m0", "rotarytrinkey_m0", "slidetrinkey_m0", "trinket_m0", "uno", "trinket_5v", "ledglasses_nrf52840" ]
1211
runs-on: ubuntu-18.04
1312

1413
steps:
@@ -39,6 +38,14 @@ jobs:
3938
- name: test platforms
4039
run: python3 ci/build_platform.py ${{ matrix.arduino-platform }}
4140

41+
- name: Upload build artifacts
42+
uses: actions/upload-artifact@v2
43+
with:
44+
name: ${{ github.event.repository.name }}.${{ github.sha }}
45+
path: |
46+
build/*.hex
47+
build/*.bin
48+
build/*.uf2
4249
4350
pylint:
4451
runs-on: ubuntu-latest

3D_Printed_LED_Microphone_Flag/.circuitpython.skip

Lines changed: 0 additions & 1 deletion
This file was deleted.

3D_Printed_LED_Microphone_Flag/code.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,7 @@ def fscale(originalmin, originalmax, newbegin, newend, inputvalue, curve):
120120

121121
def drawLine(fromhere, to):
122122
if fromhere > to:
123-
fromheretemp = fromhere
124-
fromhere = to
125-
to = fromheretemp
123+
to, fromhere = fromhere, to
126124

127125
for index in range(fromhere, to):
128126
strip[index] = (0, 0, 0)

EyeLights_Accelerometer_Tap/EyeLights_Accelerometer_Tap/.ledglasses_nrf52840.test.only

Whitespace-only changes.

EyeLights_Audio_Spectrum/EyeLights_Audio_Spectrum/.ledglasses_nrf52840.generate

Whitespace-only changes.

EyeLights_Audio_Spectrum/EyeLights_Audio_Spectrum/.ledglasses_nrf52840.test.only

Whitespace-only changes.

0 commit comments

Comments
 (0)