Added deploy for testing
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
ca1ca6b249
commit
98a9b2a821
31
.drone.yml
31
.drone.yml
|
@ -18,17 +18,20 @@ steps:
|
|||
- apt-get update
|
||||
- apt-get -y install libgtk-3-dev libxcb-shape0-dev libxcb-xfixes0-dev
|
||||
- cargo build --release
|
||||
- tar cvzf conductor.tar.gz -C target/release conductor
|
||||
- tar cvzf abacus-linux-amd64.tar.gz -C target/release conductor
|
||||
- cargo install cargo-deb
|
||||
- cargo deb -p abacus-ui -o target/release/abacus_amd64.deb
|
||||
- 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 conductor.tar.gz fivesigma/public/abacus/conductor.tar.gz
|
||||
when:
|
||||
event:
|
||||
- promote
|
||||
target:
|
||||
- staging
|
||||
- production
|
||||
- ./mc cp abacus-linux-amd64.tar.gz fivesigma/public/abacus/abacus-linux-amd64.tar.gz
|
||||
- ./mc cp target/release/abacus_amd64.deb fivesigma/public/abacus/abacus-amd64.deb
|
||||
# when:
|
||||
# event:
|
||||
# - promote
|
||||
# target:
|
||||
# - staging
|
||||
# - production
|
||||
|
||||
|
||||
---
|
||||
|
@ -49,9 +52,9 @@ steps:
|
|||
- mc alias set fivesigma https://objects.5sigma.io $MINIOID $MINIOSECRET
|
||||
- cargo build --release --target=x86_64-pc-windows-msvc
|
||||
- mc cp target\x86_64-pc-windows-msvc\release\abacus-ui.exe fivesigma/public/abacus/abacus.exe
|
||||
when:
|
||||
event:
|
||||
- promote
|
||||
target:
|
||||
- staging
|
||||
- production
|
||||
# when:
|
||||
# event:
|
||||
# - promote
|
||||
# target:
|
||||
# - staging
|
||||
# - production
|
||||
|
|
|
@ -10,4 +10,19 @@ druid = { git = "https://github.com/linebender/druid.git", features=["im", "svg"
|
|||
abacus-core = { path = "../abacus-core" }
|
||||
syntect = "5.0.0"
|
||||
ropey = "1.5.0"
|
||||
clipboard = "0.5.0"
|
||||
clipboard = "0.5.0"
|
||||
|
||||
|
||||
[package.metadata.deb]
|
||||
maintainer = "Joe Bellus <joe@5sigma.io>"
|
||||
copyright = "2022, Joe Bellus"
|
||||
extended-description = """\
|
||||
A programable scratchpad for quick calcualtions\
|
||||
"""
|
||||
depends = "$auto"
|
||||
section = "utility"
|
||||
priority = "optional"
|
||||
assets = [
|
||||
["target/release/abacus-ui", "usr/bin/", "755"],
|
||||
["README.md", "usr/share/doc/abacus/README", "644"],
|
||||
]
|
Loading…
Reference in New Issue