feat: drone build

This commit is contained in:
kieran 2024-11-20 15:14:20 +00:00
parent 35aa3c1c91
commit caed29915c
No known key found for this signature in database
GPG Key ID: DE71CEB3925BE941
2 changed files with 14 additions and 1 deletions

14
.drone.yaml Normal file
View File

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

View File

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