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"
|
- stage: "Deploy"
|
||||||
# if: tag is present
|
# 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
|
script: skip
|
||||||
before_deploy:
|
before_deploy:
|
||||||
- mkdir tmp-bin
|
- mkdir tmp-bin
|
||||||
|
@ -57,14 +57,17 @@ jobs:
|
||||||
- rm -rf /tmp/arduino-sketch*
|
- rm -rf /tmp/arduino-sketch*
|
||||||
# cortex-m0plus
|
# cortex-m0plus
|
||||||
- arduino-cli compile --fqbn arduino:samd:mzero_bl $PWD/examples/EthernetHTTPS
|
- 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
|
- 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*
|
- rm -rf /tmp/arduino-sketch*
|
||||||
# cortex-m7
|
# cortex-m7
|
||||||
- arduino-cli compile --fqbn STM32:stm32:Nucleo_144:pnum=NUCLEO_F767ZI $PWD/examples/EthernetHTTPS
|
- 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
|
- 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*
|
- rm -rf /tmp/arduino-sketch*
|
||||||
# esp32
|
# esp32
|
||||||
- arduino-cli compile --fqbn esp32:esp32:d32 $PWD/examples/EthernetHTTPS
|
- 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
|
- 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!
|
# bundle it up!
|
||||||
- echo "precompiled=true" >> library.properties
|
- echo "precompiled=true" >> library.properties
|
||||||
|
|
Loading…
Reference in a new issue