Skip to content

Commit d2eabaf

Browse files
committed
add lanl gitlab-ci yml for darwin system
This is only going to be used for nightly sanity checks of the release branches on various darwin node types. Not intended for CI at this time. Signed-off-by: Howard Pritchard <hppritcha@gmail.com>
1 parent 09eb050 commit d2eabaf

File tree

1 file changed

+112
-0
lines changed

1 file changed

+112
-0
lines changed

.ci/lanl/gitlab-darwin-ci.yml

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
variables:
2+
SCHEDULER_PARAMETERS: "-pgeneral -t 1:00:00 -N 1 --ntasks-per-node=16"
3+
GIT_STRATEGY: clone
4+
NPROCS: 4
5+
6+
stages:
7+
- build
8+
- test
9+
10+
build:intel:
11+
stage: build
12+
tags: [darwin-slurm-shared]
13+
script:
14+
- module load intel
15+
- git submodule update --init
16+
- ./autogen.pl
17+
- ./configure CC=icc FC=ifort CXX=icpc --prefix=$PWD/install_test --with-libevent=internal
18+
- make -j 8 install
19+
- make check
20+
- export PATH=$PWD/install_test/bin:$PATH
21+
- cd examples
22+
- make
23+
artifacts:
24+
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
25+
untracked: true
26+
paths:
27+
- examples
28+
- install_test
29+
expire_in: 1 week
30+
only:
31+
- scheduled
32+
33+
build:gnu:
34+
stage: build
35+
tags: [darwin-slurm-shared]
36+
script:
37+
- module load gcc
38+
- git submodule update --init
39+
- ./autogen.pl
40+
- ./configure --prefix=$PWD/install_test --with-libevent=internal
41+
- make -j 8 install
42+
- make check
43+
- export PATH=$PWD/install_test/bin:$PATH
44+
- cd examples
45+
- make
46+
artifacts:
47+
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
48+
untracked: true
49+
paths:
50+
- examples
51+
- install_test
52+
expire_in: 1 week
53+
only:
54+
- scheduled
55+
56+
test:intel:
57+
stage: test
58+
tags: [darwin-slurm-shared]
59+
dependencies:
60+
- build:intel
61+
needs: ["build:intel"]
62+
script:
63+
- pwd
64+
- ls
65+
- module load intel
66+
- export PATH=$PWD/install_test/bin:$PATH
67+
- which mpirun
68+
- cd examples
69+
- mpirun -np 4 hostname
70+
- mpirun -np 4 ./hello_c
71+
- mpirun -np 4 ./ring_c
72+
- mpirun -np 4 ./hello_mpifh
73+
- mpirun -np 4 ./ring_mpifh
74+
- mpirun -np 4 ./hello_usempi
75+
- mpirun -np 4 ./ring_usempi
76+
- mpirun -np 4 ./hello_usempif08
77+
- mpirun -np 4 ./ring_usempif08
78+
- mpirun -np 4 ./connectivity_c
79+
artifacts:
80+
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
81+
expire_in: 1 week
82+
only:
83+
- scheduled
84+
85+
test:gnu:
86+
stage: test
87+
tags: [dawrin-slurm-shared]
88+
dependencies:
89+
- build:gnu
90+
needs: ["build:gnu"]
91+
script:
92+
- pwd
93+
- ls
94+
- module load gcc
95+
- export PATH=$PWD/install_test/bin:$PATH
96+
- which mpirun
97+
- cd examples
98+
- mpirun -np 4 hostname
99+
- mpirun -np 4 ./hello_c
100+
- mpirun -np 4 ./ring_c
101+
- mpirun -np 4 ./hello_mpifh
102+
- mpirun -np 4 ./ring_mpifh
103+
- mpirun -np 4 ./hello_usempi
104+
- mpirun -np 4 ./ring_usempi
105+
- mpirun -np 4 ./hello_usempif08
106+
- mpirun -np 4 ./ring_usempif08
107+
- mpirun -np 4 ./connectivity_c
108+
artifacts:
109+
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
110+
expire_in: 1 week
111+
only:
112+
- scheduled

0 commit comments

Comments
 (0)