Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
west-public
West
Commits
5f823c35
Commit
5f823c35
authored
Jul 11, 2018
by
Marco Govoni
Browse files
Check that runner is running.
parent
0a8c7416
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
5f823c35
...
@@ -3,8 +3,9 @@ variables:
...
@@ -3,8 +3,9 @@ variables:
stages
:
stages
:
-
build
-
build
-
test
west_
at_qe_6_1_0
:
west_
build
:
tags
:
[
rcc
,
docker
,
node-01
]
tags
:
[
rcc
,
docker
,
node-01
]
stage
:
build
stage
:
build
image
:
ubuntu:latest
image
:
ubuntu:latest
...
@@ -17,13 +18,13 @@ west_at_qe_6_1_0:
...
@@ -17,13 +18,13 @@ west_at_qe_6_1_0:
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
-
git desribe
-
git des
c
ribe
-
./configure
-
./configure
-
make -j pw
-
make -j pw
-
ls bin
-
ls bin
-
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
-
git desribe
-
git des
c
ribe
-
make
-
make
-
ls ../bin
-
ls ../bin
# - mpif90 hello.f90 -o hello.x
# - mpif90 hello.f90 -o hello.x
...
@@ -33,3 +34,29 @@ west_at_qe_6_1_0:
...
@@ -33,3 +34,29 @@ west_at_qe_6_1_0:
# - git checkout $CI_COMMIT_SHA
# - git checkout $CI_COMMIT_SHA
# - cd test
# - cd test
# - cd make
# - cd make
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment