diff options
author | mayeut <mayeut@users.noreply.github.com> | 2022-02-27 11:22:36 +0100 |
---|---|---|
committer | mayeut <mayeut@users.noreply.github.com> | 2022-03-05 07:55:34 +0100 |
commit | 382641507a48ac8fead6b4ae6725f3245505664a (patch) | |
tree | 38f082289ba38ec32cb19e28b2042ef9429d7e51 /.travis.yml | |
parent | bcec9c338946a0285262921ab1da5847462021c3 (diff) | |
download | numpy-382641507a48ac8fead6b4ae6725f3245505664a.tar.gz |
BLD: move cibuildwheel configuration to `pyproject.toml` [wheel build]
This allows to share the configuration between GitHub Actions and Travis-CI.
This also allows to easily run cibuildwheel locally to debug build issues when they arise.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/.travis.yml b/.travis.yml index d74758588..4ee14ca75 100644 --- a/.travis.yml +++ b/.travis.yml @@ -45,25 +45,12 @@ jobs: - ATLAS=None # Wheel builders - # TODO: de-dup env vars in between steps? - python: "3.8" os: linux arch: arm64 virt: vm env: - CIBW_BUILD: cp38-manylinux_aarch64 - - CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014 - - CIBW_BUILD_VERBOSITY: 3 - - CIBW_BEFORE_BUILD: "'bash {project}/tools/wheels/cibw_before_build.sh {project}'" - - CIBW_BEFORE_TEST: "'pip install -r {project}/test_requirements.txt'" - - CIBW_TEST_COMMAND: "'bash {project}/tools/wheels/cibw_test_command.sh {project}'" - # Workaround Travis limitations - # set each variable separately and use cibw pass env to pass through - - CFLAGS: "'-std=c99 -fno-strict-aliasing'" - - LDFLAGS: "'-Wl,--strip-debug'" - - OPENBLAS64_: /usr/local - - RUNNER_OS: Linux - - CIBW_ENVIRONMENT_PASS_LINUX: "'CFLAGS LDFLAGS OPENBLAS64_ RUNNER_OS'" install: python3 -m pip install cibuildwheel==2.3.1 script: | cibuildwheel --output-dir wheelhouse @@ -77,18 +64,6 @@ jobs: virt: vm env: - CIBW_BUILD: cp39-manylinux_aarch64 - - CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014 - - CIBW_BUILD_VERBOSITY: 3 - - CIBW_BEFORE_BUILD: "'bash {project}/tools/wheels/cibw_before_build.sh {project}'" - - CIBW_BEFORE_TEST: "'pip install -r {project}/test_requirements.txt'" - - CIBW_TEST_COMMAND: "'bash {project}/tools/wheels/cibw_test_command.sh {project}'" - # Workaround Travis limitations - # set each variable separately and use cibw pass env to pass through - - CFLAGS: "'-std=c99 -fno-strict-aliasing'" - - LDFLAGS: "'-Wl,--strip-debug'" - - OPENBLAS64_: /usr/local - - RUNNER_OS: Linux - - CIBW_ENVIRONMENT_PASS_LINUX: "'CFLAGS LDFLAGS OPENBLAS64_ RUNNER_OS'" install: python3 -m pip install cibuildwheel==2.3.1 script: | cibuildwheel --output-dir wheelhouse @@ -102,18 +77,6 @@ jobs: virt: vm env: - CIBW_BUILD: cp310-manylinux_aarch64 - - CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014 - - CIBW_BUILD_VERBOSITY: 3 - - CIBW_BEFORE_BUILD: "'bash {project}/tools/wheels/cibw_before_build.sh {project}'" - - CIBW_BEFORE_TEST: "'pip install -r {project}/test_requirements.txt'" - - CIBW_TEST_COMMAND: "'bash {project}/tools/wheels/cibw_test_command.sh {project}'" - # Workaround Travis limitations - # set each variable separately and use cibw pass env to pass through - - CFLAGS: "'-std=c99 -fno-strict-aliasing'" - - LDFLAGS: "'-Wl,--strip-debug'" - - OPENBLAS64_: /usr/local - - RUNNER_OS: Linux - - CIBW_ENVIRONMENT_PASS_LINUX: "'CFLAGS LDFLAGS OPENBLAS64_ RUNNER_OS'" install: python3 -m pip install cibuildwheel==2.3.1 script: | cibuildwheel --output-dir wheelhouse |