Commit 40eb525a authored by Leo Pound Singer's avatar Leo Pound Singer
Browse files

Build wheels

parent 7e59062b
build:
build:sdist:
stage: build
image: ligo/lalsuite-dev:stretch
script:
......@@ -7,6 +7,40 @@ build:
paths:
- '*.tar.gz'
build:wheel:manylinux1:
stage: build
image: quay.io/pypa/manylinux1_x86_64
script:
- set -ex;
for PYTHON in /opt/python/*/bin/python; do
$PYTHON setup.py bdist_wheel;
done
- set -ex;
for WHEEL in dist/*; do
auditwheel repair -w . ${WHEEL};
done
artifacts:
paths:
- '*.whl'
build:wheel:macos:
stage: build
tags:
- macos
script:
- set -ex;
for VIRTUALENV in /opt/local/bin/virtualenv-?.?; do
rm -rf env;
$VIRTUALENV --system-site-packages env;
source env/bin/activate;
python setup.py bdist_wheel;
done
- pip install delocate
- delocate-wheel -w . dist/*
artifacts:
paths:
- '*.whl'
test:stretch:
stage: test
image: ligo/lalsuite-dev:stretch
......
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