diff --git a/.gitignore b/.gitignore index 735cc2ab0cbada3253f06c8eb97b61fe1973f34f..eef1373618be72dee385f842e3f100ef99ecf6ee 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,9 @@ #qmake *.user +# ide +*tags + #swig py/unsio/py_unsio.py py/unsio/py_unsio_wrap.cpp @@ -18,6 +21,8 @@ py/unsio/version* *.pyc # tilda *~ +*.whl +py/wheels # Compiled Object files *.slo @@ -72,5 +77,5 @@ Makefile.in *.cubin *.fatbin - - +# unknown +taxon diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8a2e3935e679d980bd7b06de6ad0f8234c822d2c..4206d7763bd304c611e74eff58adaa69e50a3b7c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,11 +11,14 @@ stages: - build +- testpypi variables : TWINE_USERNAME: jcl TWINE_PASSWORD: $TEST_PY_PASSWD WHEEL : 0 + TESTPYPI : 0 + before_script: # clone #- git clone https://gitlab.lam.fr/jclamber/unsio.git @@ -34,13 +37,31 @@ manylinux2010 : - CI/script/build-unsio.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: manylinux2010 + paths: + - wheel/ artifacts: name: "manylinux2010" paths: - test-*.res - wheel/* +push-testpypi-manylinux2010: + stage: testpypi + image : portus.lam.fr/jclamber/unsio-manylinux2010 + 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: manylinux2010 + paths: + - wheel/ + # # RPM Distros #