Skip to content

Commit a589db0

Browse files
committed
Debug macos 11
1 parent 749519b commit a589db0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/build_wheels.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -273,13 +273,13 @@ jobs:
273273
matrix:
274274
os: [ macos-11 ]
275275
# python-version: [ "3.8", "3.9", "3.10"]
276-
python-version: [ "3.8" ]
276+
python-version: [ "3.8", "3.9", "3.10" ]
277277
env:
278278
RUNNER_OS: ${{ matrix.os }}
279279
PYTHON_VERSION: ${{ matrix.python-version }}
280280
steps:
281281
- name: Install Offical Python 3.8
282-
uses: actions/setup-python@v2
282+
uses: actions/setup-python@v4
283283
with:
284284
python-version: ${{ matrix.python-version }}
285285
- name: Check Python version
@@ -336,20 +336,20 @@ jobs:
336336
df -h
337337
env:
338338
CIBW_ENVIRONMENT_MACOS: "PATH=$(brew --prefix llvm@16)/bin:/usr/local/opt/grep/libexec/gnubin:/usr/local/opt/binutils/bin:$PATH:/usr/local/opt/findutils/libexec/gnubin CC=$(brew --prefix llvm@16)/bin/clang CXX=$(brew --prefix llvm@16)/bin/clang++"
339-
# - name: Remove /usr/local/bin/python3
340-
# run: |
341-
# sudo rm -f /usr/local/bin/python3
339+
- name: Remove /usr/local/bin/python3
340+
run: |
341+
sudo rm -f /usr/local/bin/python3
342342
- name: Install dependencies for building wheels
343343
run: |
344344
python3 -m pip install -U pip tox pybind11 twine setuptools wheel
345-
python3 -m pip install cibuildwheel==2.12.1
345+
python3 -m pip install cibuildwheel==2.16.2
346346
- name: Build wheels
347347
run: python3 -m cibuildwheel --output-dir wheelhouse
348348
timeout-minutes: 300
349349
env:
350350
CIBW_ENVIRONMENT_MACOS: "PATH=$(brew --prefix llvm@16)/bin:/usr/local/opt/grep/libexec/gnubin:/usr/local/opt/binutils/bin:$PATH:/usr/local/opt/findutils/libexec/gnubin CC=$(brew --prefix llvm@16)/bin/clang CXX=$(brew --prefix llvm@16)/bin/clang++"
351351
CIBW_DEBUG: 1
352-
CIBW_BEFORE_BUILD: "pip install -U pip tox pybind11 && bash -x gen_manifest.sh && bash chdb/build.sh"
352+
CIBW_BEFORE_BUILD: "which python3 && pip install -U pip tox pybind11 && python3 -m pybind11 --includes && bash -x gen_manifest.sh && bash chdb/build.sh"
353353
CIBW_BUILD_VERBOSITY: 3
354354
CIBW_BUILD: "cp38-macosx_x86_64 cp39-macosx_x86_64 cp310-macosx_x86_64"
355355
CIBW_TEST_REQUIRES: "pyarrow pandas psutil"

0 commit comments

Comments
 (0)