add arduino due to travis

This commit is contained in:
Noah Laptop 2020-05-24 13:46:44 -07:00
parent 4bb4e14682
commit 3d8ff7d341

View file

@ -29,6 +29,8 @@ jobs:
env: CORE="adafruit:samd" BOARD="adafruit:samd:adafruit_feather_m0"
- name: "Arduino Zero"
env: CORE="arduino:samd" BOARD="arduino:samd:mzero_bl"
- name: "Arduino Due"
env: CORE="arduino:sam" BOARD="arduino:sam:arduino_due_x"
- name: "ESP32"
env: CORE="esp32:esp32" BOARD="esp32:esp32:d32"
- name: "STM32"
@ -49,7 +51,7 @@ jobs:
- stage: "Deploy"
if: tag is present
env: CORE="arduino:samd esp32:esp32 STM32:stm32"
env: CORE="arduino:samd arduino:sam esp32:esp32 STM32:stm32"
script: skip
before_deploy:
- mkdir tmp-bin
@ -61,6 +63,11 @@ jobs:
- mkdir tmp-bin/cortex-m0plus
- cp "$(find /tmp/ -maxdepth 1 -type d -name "arduino-sketch*" -print | head -n 1)/libraries/SSLClient/SSLClient.a" tmp-bin/cortex-m0plus/SSLClient.a
- rm -rf /tmp/arduino-sketch*
# cortex-m3
- arduino-cli compile --fqbn arduino:sam:arduino_due_x $PWD/examples/EthernetHTTPS
- mkdir tmp-bin/cortex-m3
- cp "$(find /tmp/ -maxdepth 1 -type d -name "arduino-sketch*" -print | head -n 1)/libraries/SSLClient/SSLClient.a" tmp-bin/cortex-m3/SSLClient.a
- rm -rf /tmp/arduino-sketch*
# cortex-m7
- arduino-cli compile --fqbn STM32:stm32:Nucleo_144:pnum=NUCLEO_F767ZI $PWD/examples/stm32/EthernetHTTPSstm32
- mkdir tmp-bin/cortex-m7