Skip to content

Commit c85b44b

Browse files
committed
gh-actions: Separate pre-build and patching
Makes the log a bit cleaner. Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent 5bfe2c7 commit c85b44b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,18 @@ jobs:
2121
ln -s ~/.platformio/penv/bin/pio ~/.local/bin/pio
2222
ln -s ~/.platformio/penv/bin/piodebuggdb ~/.local/bin/piodebuggdb
2323
24-
- name: Patch Teensy/Arduino Source
24+
- name: Pre-build to fetch sources
2525
run: |
2626
# Build but ignore failure, will install pre-requisites
2727
pio run -e teensy36 || true
2828
pio run -e teensy41 || true
2929
30-
ls -l ~/.platformio
31-
ls -l ~/.platformio/platforms/teensy/builder/frameworks/arduino.py
32-
# Teensy3.6
30+
- name: Patch Teensy/Arduino Source
31+
run: |
32+
# Arduino
3333
patch -d ~/.platformio/ -p0 < diff/arduino.py.diff
34+
35+
# Teensy3.6
3436
patch -d ~/.platformio/ -p0 < diff/teensy3/usb_desc.c.diff
3537
patch -d ~/.platformio/ -p0 < diff/teensy3/usb_desc.h.diff
3638
patch -d ~/.platformio/ -p0 < diff/teensy3/usb_inst.cpp.diff
@@ -44,8 +46,6 @@ jobs:
4446
patch -d ~/.platformio/ -p0 < diff/teensy4/yield.cpp.diff
4547
4648
- name: Build for Teensy 3.6
47-
# Still build 4.1, even if 3.6 fails
48-
continue-on-error: true
4949
run: |
5050
pio run -e teensy36
5151

0 commit comments

Comments
 (0)