From caed29915c216e942aec9b9c6d0d41fdf69189e1 Mon Sep 17 00:00:00 2001 From: kieran Date: Wed, 20 Nov 2024 15:14:20 +0000 Subject: [PATCH] feat: drone build --- .drone.yaml | 14 ++++++++++++++ src/widgets/stream_player.rs | 1 - 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .drone.yaml diff --git a/.drone.yaml b/.drone.yaml new file mode 100644 index 0000000..55a1b1f --- /dev/null +++ b/.drone.yaml @@ -0,0 +1,14 @@ +kind: pipeline +type: kubernetes +name: default +concurrency: + limit: 1 +metadata: + namespace: git +steps: + - name: build + image: rust:bookwork + commands: + - cargo install xbuild + - x build --platform linux --arch x64 + - x build --platform android --arch arm64 --format apk \ No newline at end of file diff --git a/src/widgets/stream_player.rs b/src/widgets/stream_player.rs index de35503..ef37a72 100644 --- a/src/widgets/stream_player.rs +++ b/src/widgets/stream_player.rs @@ -9,7 +9,6 @@ pub struct StreamPlayer { impl StreamPlayer { pub fn new(ctx: &Context, url: &String) -> Self { let mut p = Player::new(ctx, url); - p.set_debug(true); p.start(); Self { player: Some(p) } }