.gitlab-ci.yml 1.58 KB
Newer Older
Marco Govoni's avatar
Marco Govoni committed
1
2
variables:
 GIT_STRATEGY: none
Marco Govoni's avatar
Marco Govoni committed
3

Marco Govoni's avatar
Marco Govoni committed
4
5
stages:
 - build
Marco Govoni's avatar
Marco Govoni committed
6
 - test
Marco Govoni's avatar
Marco Govoni committed
7

Marco Govoni's avatar
Marco Govoni committed
8
west_build:
Marco Govoni's avatar
Marco Govoni committed
9
10
11
12
13
14
15
16
17
18
19
20
 tags: [rcc,docker,node-01]
 stage: build
 image: ubuntu:latest
 before_script:
   - apt-get update
   - apt-get install --yes git
   - apt-get install --yes build-essential gfortran wget python
   - apt-get install --yes libopenmpi-dev openmpi-bin
   - apt-get install --yes libblas-dev liblapack-dev fftw3 fftw3-dev pkg-config
 script:
   - git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR
   - cd QEDIR
Marco Govoni's avatar
Marco Govoni committed
21
   - git describe
Marco Govoni's avatar
Marco Govoni committed
22
23
   - ./configure
   - make -j pw
Marco Govoni's avatar
Marco Govoni committed
24
   - ls bin
Marco Govoni's avatar
Marco Govoni committed
25
   - git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL West
Marco Govoni's avatar
Marco Govoni committed
26
   - cd West
Marco Govoni's avatar
Marco Govoni committed
27
   - git describe
Marco Govoni's avatar
Marco Govoni committed
28
29
   - make
   - ls ../bin 
Marco Govoni's avatar
Marco Govoni committed
30
31
32
#   - mpif90 hello.f90 -o hello.x
#   - ls 
#   - mpirun -np 28 --allow-run-as-root hello.x  
Marco Govoni's avatar
Marco Govoni committed
33
34
35
36
#   - cd West
#   - git checkout $CI_COMMIT_SHA
#   - cd test
#    - cd make
Marco Govoni's avatar
Marco Govoni committed
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62

west_test_gamma:
 tags: [rcc,docker,node-01]
 stage: test
 image: ubuntu:latest
 before_script:
   - apt-get update
   - apt-get install --yes git
   - apt-get install --yes build-essential gfortran wget python
   - apt-get install --yes libopenmpi-dev openmpi-bin
   - apt-get install --yes libblas-dev liblapack-dev fftw3 fftw3-dev pkg-config
 script:
   - git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR
   - cd QEDIR
   - ./configure
   - make -j pw
   - git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL West
   - cd West
   - make
#   - mpif90 hello.f90 -o hello.x
#   - ls 
#   - mpirun -np 28 --allow-run-as-root hello.x  
#   - cd West
#   - git checkout $CI_COMMIT_SHA
#   - cd test
#    - cd make