From 07c907a0e59640bca86942c495dfa99ac5ac7898 Mon Sep 17 00:00:00 2001
From: Piotr Roslaniec
Date: Mon, 8 Jan 2024 16:56:31 +0100
Subject: [PATCH] chore(ci): compile benchmarks on ci
---
.github/workflows/workspace.yml | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/.github/workflows/workspace.yml b/.github/workflows/workspace.yml
index 9acd2f1a..862c90ec 100644
--- a/.github/workflows/workspace.yml
+++ b/.github/workflows/workspace.yml
@@ -213,6 +213,21 @@ jobs:
files: lcov.info
fail_ci_if_error: true
+ compile-benchmarks:
+ # Temporarily replaces "benchmark" job. TODO: Remove this job once the "benchmark" job is fixed.
+ runs-on: ubuntu-latest
+ needs: [ test ]
+ steps:
+ - uses: actions/checkout@v3
+ - uses: actions-rs/toolchain@v1
+ with:
+ profile: minimal
+ toolchain: stable
+ target: x86_64-unknown-linux-gnu
+ override: true
+ - name: Compile benchmarks
+ run: cargo bench --no-run --no-default-features
+
benchmark:
# TODO: This job is failing with error: