bench6/test/ci.sh

16 lines
466 B
Bash
Raw Normal View History

2024-04-25 19:06:57 +02:00
#!/bin/sh
set -e
set -x
# Allow impure evaluation so we fetch the latest commit from the repo
2024-04-26 13:12:47 +02:00
bench6_ref=$(nix build -L --print-out-paths --impure ".#bench6Master")
bench6_cur=$(nix build -L --print-out-paths ".#bench6")
2024-04-25 19:06:57 +02:00
# Add bigotes to the path
bigotes=$(nix build --print-out-paths 'jungle#bigotes')
export PATH="$bigotes/bin:$PATH"
bigotes "${bench6_ref}/bin/b6_heat_nanos6" -s 2048 -t 10 -b 64
bigotes "${bench6_cur}/bin/b6_heat_nanos6" -s 2048 -t 10 -b 64