"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file ".github/workflows/cibuildwheel.yml" between
scikit-image-0.18.1.tar.gz and scikit-image-0.18.3.tar.gz

About: scikit-image is a collection of algorithms for image processing in Python.

cibuildwheel.yml  (scikit-image-0.18.1):cibuildwheel.yml  (scikit-image-0.18.3)
name: Build CI wheels name: Build CI wheels
on: on:
push: push:
branches: branches:
- master - main
- v[0-9]+.[0-9]+.x - v[0-9]+.[0-9]+.x
- cibuildwheel - cibuildwheel
tags: tags:
- v* - v*
jobs: jobs:
build_wheels: build_linux_37_and_above_wheels:
name: Build python ${{ matrix.cibw_python }} wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04]
cibw_python: [ "cp37-*", "cp38-*" ]
cibw_manylinux: [ manylinux1 ]
include:
- os: ubuntu-18.04
cibw_python: "cp39-*"
cibw_manylinux: manylinux2010
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-python@v2
name: Install Python
with:
python-version: '3.7'
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
with:
platforms: arm64
- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel
- name: Build the wheel
run: |
python -m cibuildwheel --output-dir dist
env:
CIBW_BUILD: ${{ matrix.cibw_python }}
CIBW_ARCHS_LINUX: auto aarch64
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.cibw_manylinux }}
CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.cibw_manylinux }}
CIBW_TEST_REQUIRES: pytest pooch pytest-localserver pytest-faulthandle
r
CIBW_TEST_COMMAND: pytest --pyargs skimage
- uses: actions/upload-artifact@v2
with:
name: wheels
path: ./dist/*.whl
build_macos_wheels:
name: Build wheels on ${{ matrix.os }} name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-18.04, windows-latest, macos-latest] os: [macos-latest]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
name: Install Python name: Install Python
with: with:
python-version: '3.7' python-version: '3.7'
- name: Install cibuildwheel - name: Install cibuildwheel
run: | run: |
python -m pip install cibuildwheel==1.6.3 python -m pip install cibuildwheel
- name: Build wheels for CPython 3.9 and Mac OS - name: Build wheels for CPython 3.9 and Mac OS
if: matrix.os == 'macos-latest'
run: | run: |
brew install libomp brew install libomp
python -m cibuildwheel --output-dir dist python -m cibuildwheel --output-dir dist
env: env:
CIBW_BUILD: "cp39-*" CIBW_BUILD: "cp39-*"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux1 CIBW_MANYLINUX_X86_64_IMAGE: manylinux1
CIBW_MANYLINUX_I686_IMAGE: manylinux1 CIBW_MANYLINUX_I686_IMAGE: manylinux1
# CIBW_BEFORE_BUILD: pip install certifi numpy==1.19.3 # CIBW_BEFORE_BUILD: pip install certifi numpy==1.19.3
CC: /usr/bin/clang CC: /usr/bin/clang
CXX: /usr/bin/clang++ CXX: /usr/bin/clang++
CPPFLAGS: "-Xpreprocessor -fopenmp" CPPFLAGS: "-Xpreprocessor -fopenmp"
CFLAGS: "-Wno-implicit-function-declaration -I/usr/local/opt/libomp/in clude" CFLAGS: "-Wno-implicit-function-declaration -I/usr/local/opt/libomp/in clude"
CXXFLAGS: "-I/usr/local/opt/libomp/include" CXXFLAGS: "-I/usr/local/opt/libomp/include"
LDFLAGS: "-Wl,-rpath,/usr/local/opt/libomp/lib -L/usr/local/opt/libomp /lib -lomp" LDFLAGS: "-Wl,-rpath,/usr/local/opt/libomp/lib -L/usr/local/opt/libomp /lib -lomp"
CIBW_TEST_REQUIRES: pytest pooch pytest-localserver pytest-faulthandle r CIBW_TEST_REQUIRES: pytest pooch pytest-localserver pytest-faulthandle r
CIBW_TEST_COMMAND: pytest --pyargs skimage CIBW_TEST_COMMAND: pytest --pyargs skimage
- name: Build wheels for CPython 3.9 (Linux and Windows)
if: matrix.os != 'macos-latest'
run: |
python -m cibuildwheel --output-dir dist
env:
CIBW_BUILD: "cp39-*"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux1
CIBW_MANYLINUX_I686_IMAGE: manylinux1
# CIBW_BEFORE_BUILD: pip install certifi numpy==1.19.3
CIBW_TEST_REQUIRES: pytest pooch pytest-localserver pytest-faulthandle
r
CIBW_TEST_COMMAND: pytest --pyargs skimage
- name: Build wheels for CPython (MacOS) - name: Build wheels for CPython (MacOS)
if: matrix.os == 'macos-latest' if: matrix.os == 'macos-latest'
run: | run: |
brew install libomp brew install libomp
python -m cibuildwheel --output-dir dist python -m cibuildwheel --output-dir dist
env: env:
CIBW_BUILD: "cp3?-*" CIBW_BUILD: "cp3?-*"
CIBW_SKIP: "cp35-* cp36-* cp39-*" CIBW_SKIP: "cp35-* cp36-* cp39-*"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux1 CIBW_MANYLINUX_X86_64_IMAGE: manylinux1
CIBW_MANYLINUX_I686_IMAGE: manylinux1 CIBW_MANYLINUX_I686_IMAGE: manylinux1
# CIBW_BEFORE_BUILD: pip install certifi numpy==1.16 # CIBW_BEFORE_BUILD: pip install certifi numpy==1.16
CC: /usr/bin/clang CC: /usr/bin/clang
CXX: /usr/bin/clang++ CXX: /usr/bin/clang++
CPPFLAGS: "-Xpreprocessor -fopenmp" CPPFLAGS: "-Xpreprocessor -fopenmp"
CFLAGS: "-Wno-implicit-function-declaration -I/usr/local/opt/libomp/in clude" CFLAGS: "-Wno-implicit-function-declaration -I/usr/local/opt/libomp/in clude"
CXXFLAGS: "-I/usr/local/opt/libomp/include" CXXFLAGS: "-I/usr/local/opt/libomp/include"
LDFLAGS: "-Wl,-rpath,/usr/local/opt/libomp/lib -L/usr/local/opt/libomp /lib -lomp" LDFLAGS: "-Wl,-rpath,/usr/local/opt/libomp/lib -L/usr/local/opt/libomp /lib -lomp"
CIBW_TEST_REQUIRES: pytest pooch pytest-localserver pytest-faulthandle r CIBW_TEST_REQUIRES: pytest pooch pytest-localserver pytest-faulthandle r
CIBW_TEST_COMMAND: pytest --pyargs skimage CIBW_TEST_COMMAND: pytest --pyargs skimage
- name: Build wheels for CPython (Linux and Windows) - name: Build wheels for CPython 3.6
if: matrix.os != 'macos-latest' run: |
python -m cibuildwheel --output-dir dist
env:
CIBW_BUILD: "cp36-*"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux1
CIBW_MANYLINUX_I686_IMAGE: manylinux1
# CIBW_BEFORE_BUILD: pip install certifi numpy==1.16
if: >
startsWith(github.ref, 'refs/heads/v0.17') ||
startsWith(github.ref, 'refs/tags/v0.17')
- uses: actions/upload-artifact@v2
with:
name: wheels
path: ./dist/*.whl
build_windows_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-python@v2
name: Install Python
with:
python-version: '3.7'
- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel
- name: Build wheels for CPython 3.9 (Linux and Windows)
run: |
python -m cibuildwheel --output-dir dist
env:
CIBW_BUILD: "cp39-*"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux1
CIBW_MANYLINUX_I686_IMAGE: manylinux1
# CIBW_BEFORE_BUILD: pip install certifi numpy==1.19.3
CIBW_TEST_REQUIRES: pytest pooch pytest-localserver pytest-faulthandle
r
CIBW_TEST_COMMAND: pytest --pyargs skimage
- name: Build Windows wheels for CPython
run: | run: |
python -m cibuildwheel --output-dir dist python -m cibuildwheel --output-dir dist
env: env:
CIBW_BUILD: "cp3?-*" CIBW_BUILD: "cp3?-*"
CIBW_SKIP: "cp35-* cp36-* cp39-*" CIBW_SKIP: "cp35-* cp36-* cp39-*"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux1 CIBW_MANYLINUX_X86_64_IMAGE: manylinux1
CIBW_MANYLINUX_I686_IMAGE: manylinux1 CIBW_MANYLINUX_I686_IMAGE: manylinux1
# CIBW_BEFORE_BUILD: pip install certifi numpy==1.16 # CIBW_BEFORE_BUILD: pip install certifi numpy==1.16
CIBW_TEST_REQUIRES: pytest pooch pytest-localserver pytest-faulthandle r CIBW_TEST_REQUIRES: pytest pooch pytest-localserver pytest-faulthandle r
CIBW_TEST_COMMAND: pytest --pyargs skimage CIBW_TEST_COMMAND: pytest --pyargs skimage
 End of changes. 7 change blocks. 
20 lines changed or deleted 100 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)