Added CI
This commit is contained in:
parent
49d7e561db
commit
4492a28bdb
|
@ -38,7 +38,7 @@ fn build_ui() -> impl Widget<AppData> {
|
|||
fn main() -> Result<(), PlatformError> {
|
||||
AppLauncher::with_window(
|
||||
WindowDesc::new(build_ui())
|
||||
.resizable(false)
|
||||
.resizable(true)
|
||||
.window_size((600.0, 800.0)),
|
||||
)
|
||||
.delegate(app_delegate::Delegate)
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
|
||||
kind: pipeline
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
image: rust:latest
|
||||
commands:
|
||||
- rustup component add clippy
|
||||
- cargo clippy
|
||||
- cargo test --all
|
||||
|
||||
- name: deploy
|
||||
image: rust:latest
|
||||
commands:
|
||||
- cargo build --release
|
||||
- tar cvzf conductor.tar.gz -C target/release conductor
|
||||
- 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/conductor.tar.gz
|
||||
# when:
|
||||
# event:
|
||||
# - promote
|
||||
# target:
|
||||
# - staging
|
||||
# - production
|
Loading…
Reference in New Issue