diff --git a/.drone.yml b/.drone.yml index 189149e..ce69c60 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,8 +4,13 @@ name: default steps: - name: build - image: rust:latest + image: ubuntu:latest commands: + - echo '========Install the necessary environment========' + - apt update && apt install curl gcc git libwebkit2gtk-4.0-dev libappindicator3-dev + - echo '========Install the Rust toolchain========' + - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain stable -y && source $HOME/.cargo/env + - echo '========Compile the Neutauri binary========' - cargo build --release --bin neutauri_runtime - cargo build --release --bin neutauri_bundler diff --git a/Cargo.lock b/Cargo.lock index 1f35744..745377c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1199,7 +1199,6 @@ dependencies = [ "new_mime_guess", "rcedit", "serde", - "tao", "toml", "winres", "wry", @@ -1212,7 +1211,6 @@ dependencies = [ "bincode", "brotli", "serde", - "tao", "winres", "wry", ] diff --git a/neutauri_bundler/Cargo.toml b/neutauri_bundler/Cargo.toml index 3883d0a..eea9118 100644 --- a/neutauri_bundler/Cargo.toml +++ b/neutauri_bundler/Cargo.toml @@ -11,7 +11,6 @@ gumdrop = "0.8" image = "0.24" new_mime_guess = "4.0" serde = {version = "1.0", features = ["derive"]} -tao = {version = "*", default-features = false} toml = "0.5" wry = {version = "0.15", default-features = false, features = ["protocol", "tray", "gtk-tray", "transparent", "fullscreen", "devtools"]} diff --git a/neutauri_runtime/Cargo.toml b/neutauri_runtime/Cargo.toml index 2c16cda..da45101 100644 --- a/neutauri_runtime/Cargo.toml +++ b/neutauri_runtime/Cargo.toml @@ -7,7 +7,6 @@ version = "0.1.0" bincode = "1.3" brotli = "3.3" serde = {version = "1.0", features = ["derive"]} -tao = {version = "*", default-features = false} wry = {version = "0.15", default-features = false, features = ["protocol", "tray", "gtk-tray", "transparent", "fullscreen"]} [target.'cfg(windows)'.build-dependencies]