Skip to content

Commit

Permalink
Disable windows wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayak-mehta committed Dec 25, 2024
1 parent 63f578e commit be77e52
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

env:
CIBW_BUILD: "cp3*-manylinux_x86_64 cp3*-macosx_*"
CIBW_SKIP: "cp35-*"
CIBW_SKIP: "cp35-* cp36-* cp37-* cp38-* cp39-* cp310-* cp311-* cp312-*"
# CIBW_BEFORE_BUILD_LINUX: "sh scripts/build_linux.sh"
# CIBW_REPAIR_WHEEL_COMMAND_LINUX: "LD_LIBRARY_PATH=$(pwd)/lib/poppler/build/:$LD_LIBRARY_PATH auditwheel repair -w {dest_dir} {wheel}"
CIBW_BEFORE_BUILD_MACOS: "sh scripts/build_macos.sh"
Expand All @@ -36,44 +36,44 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- uses: ilammy/msvc-dev-cmd@v1
with:
arch: x86
# - uses: ilammy/msvc-dev-cmd@v1
# with:
# arch: x86

- name: Build dependencies & wheels (Windows / x86)
if: runner.os == 'Windows'
shell: cmd
run: |
call scripts\build_win_x86.bat
python -m pip --disable-pip-version-check install cibuildwheel==1.10.0
python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BUILD: "cp3*-win32"
CIBW_SKIP: "cp35-*"
DISTUTILS_USE_SDK: 1
MSSdk: 1
# - name: Build dependencies & wheels (Windows / x86)
# if: runner.os == 'Windows'
# shell: cmd
# run: |
# call scripts\build_win_x86.bat
# python -m pip --disable-pip-version-check install cibuildwheel==1.10.0
# python -m cibuildwheel --output-dir wheelhouse
# env:
# CIBW_BUILD: "cp3*-win32"
# CIBW_SKIP: "cp35-*"
# DISTUTILS_USE_SDK: 1
# MSSdk: 1

- uses: ilammy/msvc-dev-cmd@v1
with:
arch: amd64
# - uses: ilammy/msvc-dev-cmd@v1
# with:
# arch: amd64

- name: Build dependencies & wheels (Windows / amd64)
if: runner.os == 'Windows'
shell: cmd
run: |
call scripts\build_win_x64.bat
python -m pip --disable-pip-version-check install cibuildwheel==1.10.0
python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BUILD: "cp3*-win_amd64"
CIBW_SKIP: "cp35-*"
DISTUTILS_USE_SDK: 1
MSSdk: 1
# - name: Build dependencies & wheels (Windows / amd64)
# if: runner.os == 'Windows'
# shell: cmd
# run: |
# call scripts\build_win_x64.bat
# python -m pip --disable-pip-version-check install cibuildwheel==1.10.0
# python -m cibuildwheel --output-dir wheelhouse
# env:
# CIBW_BUILD: "cp3*-win_amd64"
# CIBW_SKIP: "cp35-*"
# DISTUTILS_USE_SDK: 1
# MSSdk: 1

- name: Install cibuildwheel & build wheels (Linux & MacOS)
if: runner.os != 'Windows'
run: |
python -m pip --disable-pip-version-check install cibuildwheel==1.10.0
python -m pip --disable-pip-version-check install cibuildwheel>=2.22.0
python -m cibuildwheel --output-dir wheelhouse
- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit be77e52

Please sign in to comment.