workflows: use arch-specific dev shell

This commit is contained in:
Jan Winkelmann (keks)
2025-05-20 11:03:12 +02:00
parent 196d459a2b
commit cf061bd0f5
4 changed files with 11 additions and 11 deletions

View File

@@ -67,7 +67,7 @@ jobs:
- name: 🏃🏻‍♀️ Benchmarks (using Nix as shell)
working-directory: ciphers
run: nix develop --command cargo bench -F bench --bench primitives --verbose $RUST_TARGET_FLAG -- --output-format bencher | tee ../bench-primitives.txt
run: nix develop ".#devShells.${{ matrix.system }}.default" --command cargo bench -F bench --bench primitives --verbose $RUST_TARGET_FLAG -- --output-format bencher | tee ../bench-primitives.txt
- name: Extract benchmarks
uses: cryspen/benchmark-data-extract-transform@v2

View File

@@ -66,7 +66,7 @@ jobs:
# Benchmarks ...
- name: 🏃🏻‍♀️ Benchmarks
run: nix develop --command cargo bench -p rosenpass --bench trace_handshake -F trace_bench --verbose $RUST_TARGET_FLAG >bench-protocol.json
run: nix develop ".#devShells.${{ matrix.system }}.default" --command cargo bench -p rosenpass --bench trace_handshake -F trace_bench --verbose $RUST_TARGET_FLAG >bench-protocol.json
- name: Upload benchmarks
uses: cryspen/benchmark-upload-and-plot-action@v3