Added deploy for testing
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Joe Bellus 2022-10-16 15:28:36 -04:00
parent ca1ca6b249
commit 98a9b2a821
3 changed files with 33 additions and 15 deletions

View File

@ -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

View File

@ -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"],
]

0
abacus-ui/README.md Normal file
View File