bscpkgs/test/ci.nix

49 lines
712 B
Nix
Raw Normal View History

2023-03-02 18:15:25 +08:00
{ self, super, bsc, callPackage }:
let
stdenv = self.stdenv;
in
stdenv.mkDerivation rec {
name = "ci";
src = ./ci.nix;
dontUnpack = true;
# Just build some packages
buildInputs = with bsc; [
2023-03-02 19:08:02 +08:00
# Compilers
icc
clangOmpss2
mcxx
# MPI
impi
mpich
openmpi
tampi
# Tools
ovni
2023-04-12 02:32:49 +08:00
# extrae # Broken
wxparaver
2023-03-02 19:08:02 +08:00
# Runtimes
nanos6
] ++ bsc.testAll;
2023-03-02 18:15:25 +08:00
buildPhase = ''
if [ -e /boot ]; then
echo Build is NOT under chroot
echo This is the content of / :
ls -l /
exit 1
fi
echo "OK: Build is under chroot"
echo "buildInputs:"
printf -- "- %s\n" $buildInputs
2023-03-02 18:15:25 +08:00
'';
installPhase = ''
touch $out
'';
}