Add master variant for CI
This commit is contained in:
parent
51f54fd151
commit
7b259aed1a
@ -32,6 +32,13 @@
|
|||||||
hardeningDisable = [ "all" ];
|
hardeningDisable = [ "all" ];
|
||||||
dontStrip = true;
|
dontStrip = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
bench6Master = bench6.overrideAttrs (old: {
|
||||||
|
src = builtins.fetchGit {
|
||||||
|
url = "https://pm.bsc.es/gitlab/rarias/bench6.git";
|
||||||
|
ref = "master";
|
||||||
|
};
|
||||||
|
});
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
15
test/ci.sh
Executable file
15
test/ci.sh
Executable file
@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
set -x
|
||||||
|
|
||||||
|
# Allow impure evaluation so we fetch the latest commit from the repo
|
||||||
|
bench6_ref=$(nix build --print-out-paths --impure ".#bench6Master")
|
||||||
|
bench6_cur=$(nix build --print-out-paths ".#bench6")
|
||||||
|
|
||||||
|
# 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
|
Loading…
Reference in New Issue
Block a user