diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb2f0c6..eb2b334 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,9 @@ jobs: runs-on: ubuntu-latest strategy: matrix: + os: + - ubuntu-latest + - macos-latest rust: - stable - beta @@ -25,8 +28,7 @@ jobs: override: true - run: cargo build - - run: cargo build --features perf_event - - run: cargo bench --features perf_event + - run: cargo bench # test filter parameter for cargo bench - run: "[ $(cargo bench | wc -l) -gt $(cargo bench 15 | wc -l) ]" diff --git a/Cargo.toml b/Cargo.toml index 7586a1b..1f38c0f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,7 +30,7 @@ yansi = { version = "1.0.1", features = ["detect-env", "detect-tty"] } rustop = "=1.1.4" [target.'cfg(target_os = "linux")'.dependencies] -perf-event = { version = "0.1" } +perf-event = { version = "0.4.8" } [features] real_blackbox = []