Verified Commit 278974b6 authored by Daniel Williams's avatar Daniel Williams
Browse files

Added a wheel-building step.

parent a178cbd8
Loading
Loading
Loading
Loading
+19 −34
Original line number Diff line number Diff line
@@ -5,9 +5,9 @@ test:
    - python setup.py test


buildp:ages:
build:pages:
  script:
  - pip install sphinx sphinx-bootstrap-theme
  - pip install sphinx sphinx-bootstrap-theme numpydoc
  - make docs
  - mv _build/html/ public/
  artifacts:
@@ -17,38 +17,23 @@ buildp:ages:
  - master


# # Build receipe for standalone wheels on Linux
# .nightly:wheel:manylinux1: &nightly-wheel-manylinux1
#   # This container is derived from the official manylinux image provided by
#   # python.org (see PEP 513), and includes all of the LALSuite
#   # build-dependencies.
#   image: containers.ligo.org/lscsoft/lalsuite-manylinux:master
#   stage: nightly
#   script:
#     - PYPREFIX=/opt/python/$(echo ${CI_JOB_NAME} | sed 's/.*:\(.*\)-manylinux1/\1/')
#     # Build wheel
#     - ./00boot
#     # FIXME: laldetchar depends on glib >= 2.14, too new for manylinux1
#     - ./configure PYTHON=${PYPREFIX}/bin/python
#       --enable-swig-python --enable-nightly
#       --disable-laldetchar
#     - make -j4 wheel
#     # Bundle and fix up dependent shared libraries
#     - auditwheel repair wheel/*.whl
#     # Test
#     - ${PYPREFIX}/bin/virtualenv test
#     - source test/bin/activate
#     - pip install -q wheelhouse/*
#     - python -c 'import lal, lalframe, lalmetaio'
#   dependencies: []
#   only:
#     - /^lalsuite-.+/
#     - schedules
#     - web
#   artifacts:
#     expire_in: 3h
#     paths:
#       - wheelhouse
# Build receipe for standalone wheels on Linux
build:wheel:
  # This container is derived from the official manylinux image provided by
  # python.org (see PEP 513), and includes all of the LALSuite
  # build-dependencies.
  # stage: build
  script:
    # Build wheel
    - python setup.py bdist_wheel --universal
    # Bundle and fix up dependent shared libraries
    - auditwheel repair wheel/*.whl
  dependencies: []
  artifacts:
    expire_in: 3h
    paths:
      - wheelhouse



# deploy:wheel: