diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 6ff6803ef3ac..d52cca5c758d 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -66,7 +66,9 @@ jobs: - name: run benchmarks run: | - cargo build --release -Z build-std=std,panic_abort -Z build-std-features=panic_immediate_abort --target ${{ matrix.platform.target }} --manifest-path bench/tests/Cargo.toml + cargo build --manifest-path bench/tests/cpu_intensive/src-tauri/Cargo.toml --release -Z build-std=std,panic_abort -Z build-std-features=panic_immediate_abort --target ${{ matrix.platform.target }} + cargo build --manifest-path bench/tests/files_transfer/src-tauri/Cargo.toml --release -Z build-std=std,panic_abort -Z build-std-features=panic_immediate_abort --target ${{ matrix.platform.target }} + cargo build --manifest-path bench/tests/helloworld/src-tauri/Cargo.toml --release -Z build-std=std,panic_abort -Z build-std-features=panic_immediate_abort --target ${{ matrix.platform.target }} xvfb-run --auto-servernum cargo run --manifest-path bench/Cargo.toml --bin run_benchmark - name: clone benchmarks_results diff --git a/bench/src/run_benchmark.rs b/bench/src/run_benchmark.rs index bedfc7246243..e4dd947252c6 100644 --- a/bench/src/run_benchmark.rs +++ b/bench/src/run_benchmark.rs @@ -28,22 +28,19 @@ fn get_all_benchmarks() -> Vec<(String, String)> { vec![ ( "tauri_hello_world".into(), - format!( - "tests/target/{}/release/bench_helloworld", - utils::get_target() - ), + format!("../target/{}/release/bench_helloworld", utils::get_target()), ), ( "tauri_cpu_intensive".into(), format!( - "tests/target/{}/release/bench_cpu_intensive", + "../target/{}/release/bench_cpu_intensive", utils::get_target() ), ), ( "tauri_3mb_transfer".into(), format!( - "tests/target/{}/release/bench_files_transfer", + "../target/{}/release/bench_files_transfer", utils::get_target() ), ), diff --git a/crates/tauri-cli/Cargo.toml b/crates/tauri-cli/Cargo.toml index 3c42b31c24ba..775e385aa69a 100644 --- a/crates/tauri-cli/Cargo.toml +++ b/crates/tauri-cli/Cargo.toml @@ -84,7 +84,7 @@ os_pipe = "1" ignore = "0.4" ctrlc = "3.4" log = { version = "0.4.21", features = ["kv", "kv_std"] } -env_logger = "0.11.3" +env_logger = "0.11.5" icns = { package = "tauri-icns", version = "0.1" } image = { version = "0.25", default-features = false, features = ["ico"] } axum = { version = "0.7.4", features = ["ws"] }