Commit ccabaebc authored by LAMBERT Jean-charles's avatar LAMBERT Jean-charles

yaml + fixes for manylinux1

parent 8edfa4f0
Pipeline #1488 failed with stages
in 8 minutes and 38 seconds
......@@ -85,6 +85,60 @@ push-pypi-manylinux2010:
key: manylinux2010
paths:
- wheel/
#
# MANYLINUX1
#
manylinux1 :
stage : build
image : portus.lam.fr/jclamber/unsio-manylinux1
only :
variables:
- $WHEEL == "1"
script:
# build
- CI/script/build-unsio-manylinux1.sh
- CI/script/build-wheel.sh
- CI/script/repair-wheel.sh
#- /opt/python/cp37-cp37m/bin/python setup.py sdist -d wheel
- CI/script/test-unsio.sh
cache:
key: manylinux1
paths:
- wheel/
artifacts:
name: "manylinux1"
paths:
- test-*.res
- wheel/*
expire_in: 1 week
# Push wheel to testpypi repos
push-testpypi-manylinux1:
stage: testpypi
image : portus.lam.fr/jclamber/unsio-manylinux1
only :
variables:
- $TESTPYPI == "1"
script:
- /opt/python/cp37-cp37m/bin/python -m twine upload -u $TWINE_USERNAME -p $TWINE_PASSWORD --repository-url https://test.pypi.org/legacy/ ./wheel/python*unsio*
cache:
key: manylinux1
paths:
- wheel/
# Push wheel to pypi repos
push-pypi-manylinux1:
stage: pypi
image : portus.lam.fr/jclamber/unsio-manylinux1
only :
variables:
- $PYPI == "1"
script:
- /opt/python/cp37-cp37m/bin/python -m twine upload -u $TWINE_USERNAME -p $TWINE_PASSWORD ./wheel/python*unsio*
cache:
key: manylinux1
paths:
- wheel/
#
# BUILD wheels for macosx
......
......@@ -19,7 +19,7 @@ RUN \
./cmake-3.2.3-Linux-x86_64.sh --prefix=/opt/usr --skip-license &&\
rm -f cmake-3.2.3-Linux-x86_64.sh &&\
cd /opt &&\
curl -L https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/hdf5-1.8.21/src/hdf5-1.8.21.tar.gz &&\
curl -L https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/hdf5-1.8.21/src/hdf5-1.8.21.tar.gz \
--output hdf5-1.8.21.tar.gz &&\
tar zxvf hdf5-1.8.21.tar.gz &&\
cd hdf5-1.8.21 &&\
......
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