Test CI
This commit is contained in:
parent
466e50e511
commit
4d4dbe669c
6
.gitlab-ci.yml
Normal file
6
.gitlab-ci.yml
Normal file
@ -0,0 +1,6 @@
|
||||
build:ci:
|
||||
stage: build
|
||||
tags:
|
||||
- nix
|
||||
script:
|
||||
- nix shell '.#bench6' 'jungle#bigotes' --command sh -c "test/run.sh"
|
36
flake.nix
36
flake.nix
@ -9,25 +9,29 @@
|
||||
targetMachine = jungle.outputs.nixosConfigurations.hut;
|
||||
pkgs = targetMachine.pkgs;
|
||||
in {
|
||||
packages.x86_64-linux.default = pkgs.stdenv.mkDerivation rec {
|
||||
pname = "bench6";
|
||||
version = if self ? shortRev then self.shortRev else "dirty";
|
||||
packages.x86_64-linux = rec {
|
||||
default = bench6;
|
||||
bench6 = pkgs.stdenv.mkDerivation rec {
|
||||
pname = "bench6";
|
||||
version = if self ? shortRev then self.shortRev else "dirty";
|
||||
|
||||
src = self.outPath;
|
||||
src = self.outPath;
|
||||
|
||||
buildInputs = with pkgs; [
|
||||
cmake
|
||||
clangOmpss2
|
||||
nanos6
|
||||
nodes
|
||||
nosv
|
||||
mpi
|
||||
tampi
|
||||
];
|
||||
buildInputs = with pkgs; [
|
||||
bigotes
|
||||
cmake
|
||||
clangOmpss2
|
||||
nanos6
|
||||
nodes
|
||||
nosv
|
||||
mpi
|
||||
tampi
|
||||
];
|
||||
|
||||
enableParallelBuilding = false;
|
||||
hardeningDisable = [ "all" ];
|
||||
dontStrip = true;
|
||||
enableParallelBuilding = false;
|
||||
hardeningDisable = [ "all" ];
|
||||
dontStrip = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
3
test/run.sh
Executable file
3
test/run.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
bigotes b6_heat_nanos6 -s 2048 -t 10 -b 64
|
Loading…
Reference in New Issue
Block a user