fix directories not being created during deployment
This commit is contained in:
parent
02fecdfc65
commit
04de9ad8fd
1 changed files with 4 additions and 1 deletions
|
@ -49,7 +49,7 @@ jobs:
|
|||
|
||||
- stage: "Deploy"
|
||||
# if: tag is present
|
||||
env: CORE="arduino:samd esp32:esp32 STM32:stm32" ARCH="cortex-m0plus"
|
||||
env: CORE="arduino:samd esp32:esp32 STM32:stm32"
|
||||
script: skip
|
||||
before_deploy:
|
||||
- mkdir tmp-bin
|
||||
|
@ -57,14 +57,17 @@ jobs:
|
|||
- rm -rf /tmp/arduino-sketch*
|
||||
# cortex-m0plus
|
||||
- arduino-cli compile --fqbn arduino:samd:mzero_bl $PWD/examples/EthernetHTTPS
|
||||
- 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-m7
|
||||
- arduino-cli compile --fqbn STM32:stm32:Nucleo_144:pnum=NUCLEO_F767ZI $PWD/examples/EthernetHTTPS
|
||||
- mkdir tmp-bin/cortex-m7
|
||||
- cp "$(find /tmp/ -maxdepth 1 -type d -name "arduino-sketch*" -print | head -n 1)/libraries/SSLClient/SSLClient.a" tmp-bin/cortex-m7/SSLClient.a
|
||||
- rm -rf /tmp/arduino-sketch*
|
||||
# esp32
|
||||
- arduino-cli compile --fqbn esp32:esp32:d32 $PWD/examples/EthernetHTTPS
|
||||
- mkdir tmp-bin/esp32
|
||||
- cp "$(find /tmp/ -maxdepth 1 -type d -name "arduino-sketch*" -print | head -n 1)/libraries/SSLClient/SSLClient.a" tmp-bin/esp32/SSLClient.a
|
||||
# bundle it up!
|
||||
- echo "precompiled=true" >> library.properties
|
||||
|
|
Loading…
Reference in a new issue