Commit 7d41115a authored by Marco Govoni's avatar Marco Govoni
Browse files

Merge branch 'ci' into 'ci'

Ci

See merge request west-devel/West!3
parents 1671389b b48427e1
...@@ -10,11 +10,11 @@ west_build: ...@@ -10,11 +10,11 @@ west_build:
stage: build stage: build
image: ubuntu:latest image: ubuntu:latest
before_script: before_script:
- apt-get update - apt-get update > /dev/null
- apt-get install --yes --quiet git - apt-get install -qq git > /dev/null
- apt-get install --yes --quiet build-essential gfortran wget python - apt-get install -qq build-essential gfortran wget python > /dev/null
- apt-get install --yes --quiet libopenmpi-dev openmpi-bin - apt-get install -qq libopenmpi-dev openmpi-bin > /dev/null
- apt-get install --yes --quiet libblas-dev liblapack-dev fftw3 fftw3-dev pkg-config - apt-get install -qq libblas-dev liblapack-dev fftw3 fftw3-dev pkg-config > /dev/null
script: script:
- git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR - git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR
- cd QEDIR - cd QEDIR
...@@ -33,18 +33,18 @@ west_test_gamma: ...@@ -33,18 +33,18 @@ west_test_gamma:
stage: test stage: test
image: ubuntu:latest image: ubuntu:latest
before_script: before_script:
- apt-get update - apt-get update > /dev/null
- apt-get install --yes --quiet git - apt-get install -qq git > /dev/null
- apt-get install --yes --quiet build-essential gfortran wget python - apt-get install -qq build-essential gfortran wget python > /dev/null
- apt-get install --yes --quiet libopenmpi-dev openmpi-bin - apt-get install -qq libopenmpi-dev openmpi-bin > /dev/null
- apt-get install --yes --quiet libblas-dev liblapack-dev fftw3 fftw3-dev pkg-config - apt-get install -qq libblas-dev liblapack-dev fftw3 fftw3-dev pkg-config > /dev/null
script: script:
- git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR - git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR
- cd QEDIR - cd QEDIR
- ./configure - ./configure FFLAGS="-ffpe-summary=none" > /dev/null
- make -j pw - make -j pw > /dev/null
- git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL West - git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL West
- cd West - cd West
- make - make > /dev/null
- cd test - cd test
- make NP=28 NI=1 NT=1 - make NP=28 NI=1 NT=1
...@@ -15,8 +15,11 @@ prepare_input: ...@@ -15,8 +15,11 @@ prepare_input:
run: run:
- ${PARA_PREFIX} ${BINDIR}/pw.x -i pw.in > pw.out - ${PARA_PREFIX} ${BINDIR}/pw.x -i pw.in > pw.out
- tail -5 pw.out
- ${PARA_PREFIX} ${BINDIR}/wstat.x -nimage ${NIMAGE} -i wstat.in > wstat.out - ${PARA_PREFIX} ${BINDIR}/wstat.x -nimage ${NIMAGE} -i wstat.in > wstat.out
- tail -5 wstat.out
- ${PARA_PREFIX} ${BINDIR}/wfreq.x -nimage ${NIMAGE} -i wfreq.in > wfreq.out - ${PARA_PREFIX} ${BINDIR}/wfreq.x -nimage ${NIMAGE} -i wfreq.in > wfreq.out
- tail -5 wfreq.out
clean: clean:
- /bin/rm -rf *out *in *upf *save >& /dev/null - /bin/rm -rf *out *in *upf *save >& /dev/null
......
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