Skip to content
Snippets Groups Projects
Commit 736e04d3 authored by Jean-Baptiste Keck's avatar Jean-Baptiste Keck
Browse files

install test

parent f11ce60d
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -3,6 +3,7 @@ stages: ...@@ -3,6 +3,7 @@ stages:
- env - env
- configure - configure
- build - build
- install
- test - test
env:ubuntu_zesty: env:ubuntu_zesty:
...@@ -34,6 +35,14 @@ build:ubuntu_zesty: ...@@ -34,6 +35,14 @@ build:ubuntu_zesty:
paths: paths:
- ./build - ./build
install:ubuntu_zesty:
image: keckj/hysop:ubuntu_zesty
stage: install
script:
- "sh ci/scripts/install.sh ./build/gcc-6"
dependencies:
- build:ubuntu_zesty
test:ubuntu_zesty: test:ubuntu_zesty:
image: keckj/hysop:ubuntu_zesty image: keckj/hysop:ubuntu_zesty
stage: test stage: test
...@@ -42,9 +51,9 @@ test:ubuntu_zesty: ...@@ -42,9 +51,9 @@ test:ubuntu_zesty:
- mkdir -p "/home/hysoprunner" - mkdir -p "/home/hysoprunner"
- chown hysoprunner:hysoprunner "/home/hysoprunner" - chown hysoprunner:hysoprunner "/home/hysoprunner"
- chmod u+rw "/home/hysoprunner" - chmod u+rw "/home/hysoprunner"
- su hysoprunner -c "sh ci/scripts/run_tests.sh" - su hysoprunner -c "sh ci/scripts/test.sh ./build/gcc-6"
dependencies: dependencies:
- build:ubuntu_zesty - install:ubuntu_zesty
cache: cache:
paths: paths:
- /home/hysoprunner - /home/hysoprunner
#!/bin/bash
set -e
cd build
make
make install
cd -
python -c 'import hysop'
cd build
echo 'y\n' | make uninstall
make clean
cd -
rm -rf build
exit 0
#!/bin/bash
set -e
mkdir build
cd build
export FC=mpif90 CC=mpicc CXX=mpic++
cmake -DCMAKE_BUILD_TYPE=Release ..
make
make install
#make test
HYSOP='../../hysop'
python "$HYSOP/operator/test_transpose.py"
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment