Skip to content

Commit

Permalink
[MOD] - added env MACOSX_DEPLOYMENT_TARGET back
Browse files Browse the repository at this point in the history
  • Loading branch information
lpossner committed May 21, 2024
1 parent 4478d57 commit b224166
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,11 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
MACOSX_DEPLOYMENT_TARGET=10.13 brew install gcc@13
python -m pip install --upgrade pip
pip install Cython matplotlib seaborn cibuildwheel twine
pip install -r requirements.txt
CC=gcc-13 CXX=g++-13 pip install .
MACOSX_DEPLOYMENT_TARGET=10.11 brew install gcc@13
MACOSX_DEPLOYMENT_TARGET=10.11 python -m pip install --upgrade pip
MACOSX_DEPLOYMENT_TARGET=10.11 pip install Cython matplotlib seaborn cibuildwheel twine
MACOSX_DEPLOYMENT_TARGET=10.11 pip install -r requirements.txt
MACOSX_DEPLOYMENT_TARGET=10.11 CC=gcc-13 CXX=g++-13 pip install .
- name: Test with unittest
run: |
cd tests
Expand All @@ -129,13 +129,13 @@ jobs:
python -m cibuildwheel --output-dir wheelhouse
ls wheelhouse/
env:
MACOSX_DEPLOYMENT_TARGET: "10.11"
CIBW_BEFORE_BUILD: "pip install numpy"
CIBW_ARCHS_MACOS: x86_64
CIBW_BUILD: ${{ matrix.cibw-string }}
CIBW_REPAIR_WHEEL_COMMAND: "delocate-listdeps {wheel} && delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}"
CC: gcc-13
CXX: g++-13
MACOSX_DEPLOYMENT_TARGET: "10.13"
- name: Upload with twine
if: "contains(github.event.head_commit.message, 'PyPI')"
run: |
Expand Down

0 comments on commit b224166

Please sign in to comment.