From 240835f8e477747a720f8683f31093eae47f6a4b Mon Sep 17 00:00:00 2001 From: Nils Martel Date: Mon, 1 Nov 2021 15:33:45 +0100 Subject: [PATCH] Check cranelift benchmarks in CI (#3494) * Check cranelift benchmarks in CI * Use appropriate cargo subcommand to check benchmarks --- .github/workflows/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 422e2720cc..ad42bfa3e3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -139,6 +139,9 @@ jobs: - run: cargo check -p wasmtime --no-default-features --features cranelift - run: cargo check -p wasmtime --no-default-features --features cranelift,wat,async,cache + # Check that benchmarks of the cranelift project build + - run: cargo check --benches -p cranelift-codegen + # Check some feature combinations of the `wasmtime-c-api` crate - run: cargo check -p wasmtime-c-api --no-default-features - run: cargo check -p wasmtime-c-api --no-default-features --features wat