feat: drone build
This commit is contained in:
parent
35aa3c1c91
commit
caed29915c
14
.drone.yaml
Normal file
14
.drone.yaml
Normal 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
|
@ -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) }
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user