Commit 27889266 authored by Thomas Vincent's avatar Thomas Vincent
Browse files

Fix source build --no-bianry -> --only-binary and try replace dependencies: with needs:

parent 56fa2ad5
Pipeline #63031 passed with stages
in 6 minutes and 9 seconds
......@@ -61,62 +61,49 @@ ubuntu20.04_ppc64le:
- pip install --pre --trusted-host www.silx.org --find-links http://www.silx.org/pub/wheelhouse/ --only-binary numpy,h5py numpy h5py
- pip install --pre --no-index --find-links artifacts/ --only-binary hdf5plugin hdf5plugin
- python -m hdf5plugin.test
needs: ["windows_wheel_python3"]
windows_test_python36:
<<: *test_template_defintion
extends: .windows_base_python36
dependencies:
- windows_wheel_python3
windows_test_python37:
<<: *test_template_defintion
extends: .windows_base_python37
dependencies:
- windows_wheel_python3
windows_test_python38:
<<: *test_template_defintion
extends: .windows_base_python38
dependencies:
- windows_wheel_python3
windows_test_python39:
<<: *test_template_defintion
extends: .windows_base_python39
dependencies:
- windows_wheel_python3
macos10_test_python36:
<<: *test_template_defintion
extends: .macos_base_python36
dependencies:
- macos10_x86_wheel
needs: ["macos10_x86_wheel"]
macos10_test_python37:
<<: *test_template_defintion
extends: .macos_base_python37
dependencies:
- macos10_x86_wheel
needs: ["macos10_x86_wheel"]
macos10_test_python38:
<<: *test_template_defintion
extends: .macos_base_python38
dependencies:
- macos10_x86_wheel
needs: ["macos10_x86_wheel"]
macos10_test_python39:
<<: *test_template_defintion
extends: .macos_base_python39
dependencies:
- macos10_x86_wheel
needs: ["macos10_x86_wheel"]
macos10_test_on_macos11_python38:
<<: *test_template_defintion
extends: .macos11_intel64_base_python38
dependencies:
- macos10_x86_wheel
needs: ["macos10_x86_wheel"]
only:
variables:
- $MACOS
......@@ -124,8 +111,7 @@ macos10_test_on_macos11_python38:
macos10_test_on_macos11_python39:
<<: *test_template_defintion
extends: .macos11_intel64_base_python39
dependencies:
- macos10_x86_wheel
needs: ["macos10_x86_wheel"]
only:
variables:
- $MACOS
......@@ -133,92 +119,78 @@ macos10_test_on_macos11_python39:
macos11_intel64_test_python38:
<<: *test_template_defintion
extends: .macos11_intel64_base_python38
dependencies:
- macos11_universal2_wheel
needs: ["macos11_universal2_wheel"]
macos11_intel64_test_python39:
<<: *test_template_defintion
extends: .macos11_intel64_base_python39
dependencies:
- macos11_universal2_wheel
needs: ["macos11_universal2_wheel"]
manylinux2010_test_cp36:
<<: *test_template_defintion
extends: .manylinux2010_cp36_base
dependencies:
- manylinux_wheels
needs: ["manylinux_wheels"]
manylinux2010_test_cp37:
<<: *test_template_defintion
extends: .manylinux2010_cp37_base
dependencies:
- manylinux_wheels
needs: ["manylinux_wheels"]
manylinux2010_test_cp38:
<<: *test_template_defintion
extends: .manylinux2010_cp38_base
dependencies:
- manylinux_wheels
needs: ["manylinux_wheels"]
manylinux2010_test_cp39:
<<: *test_template_defintion
extends: .manylinux2010_cp39_base
dependencies:
- manylinux_wheels
needs: ["manylinux_wheels"]
manylinux2014_test_cp36:
<<: *test_template_defintion
extends: .manylinux2014_cp36_base
dependencies:
- manylinux2014_wheels
needs: ["manylinux2014_wheels"]
manylinux2014_test_cp37:
<<: *test_template_defintion
extends: .manylinux2014_cp37_base
dependencies:
- manylinux2014_wheels
needs: ["manylinux2014_wheels"]
manylinux2014_test_cp38:
<<: *test_template_defintion
extends: .manylinux2014_cp38_base
dependencies:
- manylinux2014_wheels
needs: ["manylinux2014_wheels"]
manylinux2014_test_cp39:
<<: *test_template_defintion
extends: .manylinux2014_cp39_base
dependencies:
- manylinux2014_wheels
needs: ["manylinux2014_wheels"]
manylinux2014_ppc64le_test_cp37:
<<: *test_template_defintion
extends: .manylinux2014_ppc64le_cp37_base
dependencies:
- manylinux2014_ppc64le_wheels
needs: ["manylinux2014_ppc64le_wheels"]
manylinux2014_ppc64le_test_cp38:
<<: *test_template_defintion
extends: .manylinux2014_ppc64le_cp38_base
dependencies:
- manylinux2014_ppc64le_wheels
needs: ["manylinux2014_ppc64le_wheels"]
manylinux2014_ppc64le_test_cp39:
<<: *test_template_defintion
extends: .manylinux2014_ppc64le_cp39_base
dependencies:
- manylinux2014_ppc64le_wheels
needs: ["manylinux2014_ppc64le_wheels"]
# Test install from source
.test_sdist_template: &test_sdist_template_defintion
stage: test
dependencies:
- source
needs: ["source"]
script:
- pip install --pre --no-binary numpy,h5py numpy h5py
- pip install --pre --only-binary numpy,h5py numpy h5py
- pip install --pre --no-index --find-links artifacts/ --no-binary hdf5plugin hdf5plugin
- python -m hdf5plugin.test
......@@ -232,8 +204,7 @@ macos_test_sdist_python38:
windows_test_sdist_python38:
stage: test
dependencies:
- source
needs: ["source"]
script:
- call "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Auxiliary\\Build\\vcvarsall.bat" amd64 -vcvars_ver=14.16
- pip install --pre --only-binary numpy,h5py numpy h5py
......
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