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

Update mac build and tests

parent f64bfc1a
......@@ -36,82 +36,111 @@ manylinux2014_ppc64le_wheels:
windows_wheel_python3:
extends: .windows_wheel_python37
macos_wheel:
macos10_x86_wheel:
extends: .macos_wheel_python37
macos_wheel_arm64:
extends: .macos_arm64_wheel_python39
macos11_universal2_wheel:
extends: .macos11_arm64_wheel_python39
variables:
PYTHON_VER: "3.9"
EXTRA_SETUP_PY_CMD_OPTIONS: "build --openmp=False --native=False --sse2=False --avx2=False --cpp11=True"
ubuntu20.04:
extends: .ubuntu_20_04
allow_failure: true
ubuntu20.04_ppc64le:
extends: .ubuntu_20_04_ppc64le
allow_failure: true
# Test
.test_template: &test_template_defintion
.windows_test_template: &windows_test_template_defintion
stage: test
script:
- pip install --pre --find-links artifacts/ --only-binary hdf5plugin hdf5plugin
- pip install --pre --only-binary numpy,h5py numpy h5py
- pip install --pre --no-index --find-links artifacts/ --only-binary hdf5plugin hdf5plugin
- python -m hdf5plugin.test
windows_test_python36:
<<: *test_template_defintion
<<: *windows_test_template_defintion
extends: .windows_base_python36
dependencies:
- windows_wheel_python3
windows_test_python37:
<<: *test_template_defintion
<<: *windows_test_template_defintion
extends: .windows_base_python37
dependencies:
- windows_wheel_python3
windows_test_python38:
<<: *test_template_defintion
<<: *windows_test_template_defintion
extends: .windows_base_python38
dependencies:
- windows_wheel_python3
windows_test_python39:
<<: *test_template_defintion
<<: *windows_test_template_defintion
extends: .windows_base_python39
dependencies:
- windows_wheel_python3
macos_test_python36:
.test_template: &test_template_defintion
stage: test
script:
# Use silx.org for ppc64le wheels
- ${PYTHON} -m pip install --pre --trusted-host www.silx.org --find-links http://www.silx.org/pub/wheelhouse/ --only-binary numpy,h5py numpy h5py
- ${PYTHON} -m pip install --pre --no-index --find-links artifacts/ --only-binary hdf5plugin hdf5plugin
- ${PYTHON} -m hdf5plugin.test
macos10_test_python36:
<<: *test_template_defintion
extends: .macos_base_python36
dependencies:
- macos_wheel
- macos10_x86_wheel
macos_test_python37:
macos10_test_python37:
<<: *test_template_defintion
extends: .macos_base_python37
dependencies:
- macos_wheel
- macos10_x86_wheel
macos_test_python38:
macos10_test_python38:
<<: *test_template_defintion
extends: .macos_base_python38
dependencies:
- macos_wheel
- macos10_x86_wheel
macos_test_python39:
macos10_test_python39:
<<: *test_template_defintion
extends: .macos_base_python39
dependencies:
- macos_wheel
- macos10_x86_wheel
macos10_test_on_macos11_python38:
<<: *test_template_defintion
extends: .macos11_intel64_base_python38
dependencies:
- macos10_x86_wheel
macos10_test_on_macos11_python39:
<<: *test_template_defintion
extends: .macos11_intel64_base_python39
dependencies:
- macos10_x86_wheel
macos11_intel64_test_python38:
<<: *test_template_defintion
extends: .macos11_intel64_base_python38
dependencies:
- macos11_universal2_wheel
macos11_intel64_test_python39:
<<: *test_template_defintion
extends: .macos11_intel64_base_python39
dependencies:
- macos11_universal2_wheel
manylinux2010_test_cp36:
<<: *test_template_defintion
......@@ -163,28 +192,20 @@ manylinux2014_test_cp39:
- manylinux2014_wheels
.test_ppc64le_template: &test_ppc64le_template_defintion
stage: test
script:
# Pre-install numpy and h5py from silx.org
- 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 --find-links artifacts/ --only-binary hdf5plugin hdf5plugin
- python -m hdf5plugin.test
manylinux2014_ppc64le_test_cp37:
<<: *test_ppc64le_template_defintion
<<: *test_template_defintion
extends: .manylinux2014_ppc64le_cp37_base
dependencies:
- manylinux2014_ppc64le_wheels
manylinux2014_ppc64le_test_cp38:
<<: *test_ppc64le_template_defintion
<<: *test_template_defintion
extends: .manylinux2014_ppc64le_cp38_base
dependencies:
- manylinux2014_ppc64le_wheels
manylinux2014_ppc64le_test_cp39:
<<: *test_ppc64le_template_defintion
<<: *test_template_defintion
extends: .manylinux2014_ppc64le_cp39_base
dependencies:
- manylinux2014_ppc64le_wheels
......@@ -197,8 +218,8 @@ manylinux2014_ppc64le_test_cp39:
dependencies:
- source
script:
- pip install --pre --find-links artifacts/ --no-binary hdf5plugin hdf5plugin
- python -m hdf5plugin.test
- ${PYTHON} -m pip install --pre --find-links artifacts/ --no-binary hdf5plugin hdf5plugin
- ${PYTHON} -m hdf5plugin.test
manylinux2010_test_sdist_cp38:
<<: *test_sdist_template_defintion
......@@ -209,7 +230,9 @@ macos_test_sdist_python38:
extends: .macos_base_python38
windows_test_sdist_python38:
<<: *test_sdist_template_defintion
stage: test
dependencies:
- 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 --find-links artifacts/ --no-binary hdf5plugin hdf5plugin
......
Supports Markdown
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