@@ -2,15 +2,15 @@ name: CI
2
2
3
3
on :
4
4
pull_request :
5
- branches :
5
+ branches :
6
6
- ' **'
7
7
8
8
jobs :
9
9
10
10
micro_ros_arduino :
11
11
runs-on : ubuntu-20.04
12
12
container : ubuntu:20.04
13
-
13
+
14
14
steps :
15
15
- uses : actions/checkout@v2
16
16
with :
@@ -36,19 +36,19 @@ jobs:
36
36
arduino-cli core install esp32:esp32 -v
37
37
#
38
38
# INSTALLING TEENSY SUPPORT
39
- wget https://downloads.arduino.cc/arduino-1.8.13 -linux64.tar.xz
40
- tar -xf arduino-1.8.13 -linux64.tar.xz
41
- wget https://www.pjrc.com/teensy/td_153 /TeensyduinoInstall.linux64
39
+ wget https://downloads.arduino.cc/arduino-1.8.19 -linux64.tar.xz
40
+ tar -xf arduino-1.8.19 -linux64.tar.xz
41
+ wget https://www.pjrc.com/teensy/td_156 /TeensyduinoInstall.linux64
42
42
chmod 755 TeensyduinoInstall.linux64
43
- ./TeensyduinoInstall.linux64 --dir=arduino-1.8.13
43
+ ./TeensyduinoInstall.linux64 --dir=arduino-1.8.19
44
44
# Faking Teensy loader
45
45
TRUE_PATH=$(which true)
46
- rm -rf arduino-1.8.13 /hardware/tools/teensy_post_compile
47
- cp $TRUE_PATH arduino-1.8.13 /hardware/tools/teensy_post_compile
48
- cp -R arduino-1.8.13 /hardware/teensy/ /github/home/.arduino15/packages/
49
- rsync -a arduino-1.8.13 /hardware/tools/ /github/home/.arduino15/packages/tools/
50
- rm -rf arduino-1.8.13 arduino-1.8.13 -linux64.tar.xz
51
- #
46
+ rm -rf arduino-1.8.19 /hardware/tools/teensy_post_compile
47
+ cp $TRUE_PATH arduino-1.8.19 /hardware/tools/teensy_post_compile
48
+ cp -R arduino-1.8.19 /hardware/teensy/ /github/home/.arduino15/packages/
49
+ rsync -a arduino-1.8.19 /hardware/tools/ /github/home/.arduino15/packages/tools/
50
+ rm -rf arduino-1.8.19 arduino-1.8.19 -linux64.tar.xz
51
+ #
52
52
# PATCHING TEENSY AND SAM
53
53
cat checkout/extras/patching_boards/platform_teensy.txt > /github/home/.arduino15/packages/teensy/avr/platform.txt
54
54
# remove when https://github.com/arduino/ArduinoCore-sam/pull/115 merged
73
73
arduino-cli compile --fqbn teensy:avr:teensy35 /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v
74
74
arduino-cli compile --fqbn teensy:avr:teensy36 /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v
75
75
arduino-cli compile --fqbn teensy:avr:teensy41 /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v
76
+ arduino-cli compile --fqbn teensy:avr:teensy40 /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v
76
77
arduino-cli compile --fqbn arduino:samd:arduino_zero_native /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v
77
78
arduino-cli compile --fqbn arduino:sam:arduino_due_x /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v
78
79
# arduino-cli compile --fqbn arduino:mbed:envie_m4 /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v
0 commit comments