Commit e3885ff2 authored by Valentin Reis's avatar Valentin Reis
Browse files

Adds application CI files.

parent d1969aa1
Pipeline #5487 canceled with stages
in 3 minutes and 25 seconds
# ARGUMENTS
# ARGOPKGS : The authoritative packaging source
# EXTRA : Extra argonix arguments
.applications:
stage: applications
tags:
- integration
testAMG:
extends: .applications
script:
- "argonix build testAMG -g --argopkgs $ARGOPKGS $EXTRA --verbose"
testAMG-knl:
extends: .applications
script:
- "argonix build testAMG -g --argopkgs $ARGOPKGS $EXTRA --verbose"
tags:
- knl
testSTREAM:
extends: .applications
script:
- "argonix build testSTREAM -g --argopkgs $ARGOPKGS $EXTRA --verbose"
testSTREAM-knl:
extends: .applications
script:
- "argonix build testSTREAM -g --argopkgs $ARGOPKGS $EXTRA --verbose"
tags:
- knl
testOpenMC:
extends: .applications
script:
- "argonix build testOpenMC -g --argopkgs $ARGOPKGS $EXTRA --verbose"
testOpenMC-knl:
extends: .applications
script:
- "argonix build testOpenMC -g --argopkgs $ARGOPKGS $EXTRA --verbose"
tags:
- knl
testLAMMPS:
extends: .applications
script:
- "argonix build testLAMMPS -g --argopkgs $ARGOPKGS $EXTRA --verbose"
testLAMMPS-knl:
extends: .applications
script:
- "argonix build testLAMMPS -g --argopkgs $ARGOPKGS $EXTRA --verbose"
tags:
- knl
testQMCPack:
extends: .applications
script:
- "argonix build testQMCPack -g --argopkgs $ARGOPKGS $EXTRA --verbose"
testQMCPack-knl:
extends: .applications
script:
- "argonix build testQMCPack -g --argopkgs $ARGOPKGS $EXTRA --verbose"
tags:
- knl
...@@ -147,7 +147,15 @@ let ...@@ -147,7 +147,15 @@ let
test = pkgs.stdenv.mkDerivation rec { test = pkgs.stdenv.mkDerivation rec {
name = "testEnv"; name = "testEnv";
buildInputs = testBuildInputs ++ [ stream ]; buildInputs = testBuildInputs ++ [
lammps
qmcpack
openmc
stream
amg
#data
openmc-data
];
#required to be able to build the drv. #required to be able to build the drv.
installPhase = "mkdir $out"; installPhase = "mkdir $out";
...@@ -165,6 +173,8 @@ let ...@@ -165,6 +173,8 @@ let
''; '';
#argotk uses this environment variable. #argotk uses this environment variable.
ARGOTK_SHARE = "${argotk}/share"; ARGOTK_SHARE = "${argotk}/share";
OPENMC_CROSS_SECTIONS = "${openmc-data}/cross_sections.xml";
OPENMC_PWD = "${argotk}/share/openmc";
}; };
expe = test.overrideAttrs (old:{ expe = test.overrideAttrs (old:{
...@@ -175,19 +185,7 @@ let ...@@ -175,19 +185,7 @@ let
#experiment tools #experiment tools
zymake zymake
#applications
lammps
qmcpack
openmc
stream
amg
#data
openmc-data
]; ];
OPENMC_CROSS_SECTIONS = "${openmc-data}/cross_sections.xml";
OPENMC_PWD = "${argotk}/share/openmc";
}); });
analysis = analysis =
...@@ -246,6 +244,10 @@ let ...@@ -246,6 +244,10 @@ let
testPerfwrapper = doArgotk "TestPerfwrapper"; testPerfwrapper = doArgotk "TestPerfwrapper";
testPower = doArgotk "TestPower"; testPower = doArgotk "TestPower";
testSTREAM = doArgotk "TestSTREAM"; testSTREAM = doArgotk "TestSTREAM";
testAMG = doArgotk "TestAMG";
testOpenMC = doArgotk "TestOpenMC";
testLAMMPS = doArgotk "TestLAMMPS";
testQMCPack = doArgotk "TestQMCPack";
testAll = doArgotk "tests"; testAll = doArgotk "tests";
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment