mirror of https://github.com/KLayout/klayout.git
Fixed a script bug.
This commit is contained in:
parent
2a8cddec0f
commit
b396ef5fdf
|
|
@ -517,7 +517,6 @@ script:
|
||||||
docker run --rm -e DOCKER_IMAGE -e PY_VERSION -v `pwd`:/io $DOCKER_IMAGE $PRE_CMD "/io/ci-scripts/docker/docker_build.sh";
|
docker run --rm -e DOCKER_IMAGE -e PY_VERSION -v `pwd`:/io $DOCKER_IMAGE $PRE_CMD "/io/ci-scripts/docker/docker_build.sh";
|
||||||
klayout_version=$(python -c 'import setup; print(setup.Config().version())');
|
klayout_version=$(python -c 'import setup; print(setup.Config().version())');
|
||||||
mkdir -p deploy/dist-pymod/$klayout_version;
|
mkdir -p deploy/dist-pymod/$klayout_version;
|
||||||
python setup.py sdist --formats=gztar,zip --dist-dir=deploy/dist-pymod/$klayout_version;
|
|
||||||
cp -a wheelhouse/{klayout-*manylinux1*.whl,*.tar.gz,*.zip} deploy/dist-pymod/$klayout_version;
|
cp -a wheelhouse/{klayout-*manylinux1*.whl,*.tar.gz,*.zip} deploy/dist-pymod/$klayout_version;
|
||||||
if [ "$TEST_IN_HOST" = true ]; then
|
if [ "$TEST_IN_HOST" = true ]; then
|
||||||
pip install klayout --no-index -f ./wheelhouse;
|
pip install klayout --no-index -f ./wheelhouse;
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ ccache -s
|
||||||
# Compile wheel and build source distribution
|
# Compile wheel and build source distribution
|
||||||
cd /io
|
cd /io
|
||||||
"/opt/python/$PY_VERSION/bin/python" setup.py bdist_wheel -d /io/wheelhouse/ || exit 1
|
"/opt/python/$PY_VERSION/bin/python" setup.py bdist_wheel -d /io/wheelhouse/ || exit 1
|
||||||
"/opt/python/$PY_VERSION/bin/python" python setup.py sdist --formats=gztar,zip --dist-dir=/io/wheelhouse || exit 1
|
"/opt/python/$PY_VERSION/bin/python" setup.py sdist --formats=gztar,zip -d /io/wheelhouse || exit 1
|
||||||
|
|
||||||
# Show ccache stats
|
# Show ccache stats
|
||||||
echo "Cache stats:"
|
echo "Cache stats:"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue