Added windows step
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
5eec85509a
commit
105fb866f0
24
.drone.yml
24
.drone.yml
|
@ -35,6 +35,30 @@ steps:
|
|||
- staging
|
||||
- production
|
||||
|
||||
|
||||
- name: windows-deploy
|
||||
image: rust:latest
|
||||
depends_on: [ build-ui, test ]
|
||||
volumes:
|
||||
- name: temp
|
||||
path: /app
|
||||
commands:
|
||||
- cp -R /app/ui ./ui/build
|
||||
- cargo install -f cross
|
||||
- cross build --target x86_64-pc-windows-gnu --release
|
||||
- cargo build --release
|
||||
- tar cvzf mailspy.tar.gz -C target/release mailspy
|
||||
- wget https://dl.min.io/client/mc/release/linux-amd64/mc
|
||||
- chmod +x mc
|
||||
- ./mc alias set fivesigma https://objects.5sigma.io $MINIOID $MINIOSECRET
|
||||
- ./mc cp mailspy.tar.gz fivesigma/public/mailspy.tar.gz
|
||||
# when:
|
||||
# event:
|
||||
# - promote
|
||||
# target:
|
||||
# - staging
|
||||
# - production
|
||||
|
||||
- name: binary-deploy
|
||||
image: rust:latest
|
||||
depends_on: [ build-ui, test ]
|
||||
|
|
Loading…
Reference in New Issue