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

added install artifact

parent 12e249c4
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -42,6 +42,10 @@ install:ubuntu_zesty:
- "sh ci/scripts/install.sh ./build/gcc-6"
dependencies:
- build:ubuntu_zesty
artifacts:
paths:
- ./build
- /root/.local/lib/python2.7/site-packages/hysop
test:ubuntu_zesty:
image: keckj/hysop:ubuntu_zesty
......@@ -51,7 +55,10 @@ test:ubuntu_zesty:
- mkdir -p "/home/hysoprunner"
- chown hysoprunner:hysoprunner "/home/hysoprunner"
- chmod u+rw "/home/hysoprunner"
- su hysoprunner -c "sh ci/scripts/test.sh ./build/gcc-6"
- chown hysoprunner:hysoprunner "/root/.local/lib/python2.7/site-packages/hysop"
- chmod u+rx "/root/.local/lib/python2.7/site-packages/hysop"
- export PYTHON_PATH="/root/.local/lib/python2.7/site-packages/hysop"
- su hysoprunner -c "sh ci/scripts/test.sh"
dependencies:
- install:ubuntu_zesty
cache:
......
......@@ -16,6 +16,6 @@ BUILD_FOLDER="$1"
cd $BUILD_FOLDER
make install
python -c 'import hysop'
python -c 'import hysop; print hysop'
exit 0
......@@ -6,5 +6,6 @@ if [ $# -ne 0 ]; then
exit 1
fi
python "./hysop/operator/test_transpose.py"
python -c 'import hysop; print 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