Skip to content

Commit

Permalink
fix unrecognize named-value
Browse files Browse the repository at this point in the history
  • Loading branch information
jfranmatheu committed Feb 12, 2025
1 parent 461260a commit 23ca50f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build_cython.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,17 @@ jobs:
python -m pip install cython numpy setuptools wheel
- name: Build Cython extensions
shell: ${{ matrix.os == 'windows-latest' && 'pwsh' || 'bash' }}
shell: bash # Simplified - bash works on all platforms in GitHub Actions
env:
ARCHFLAGS: ${{ matrix.target == 'intel' && '-arch x86_64' || '' }}
run: |
${{ matrix.os != 'windows-latest' && format(
'if [ "{0}" == "macos-latest" ] && [ "{1}" == "intel" ]; then
if [ "${{ matrix.os }}" == "macos-latest" ] && [ "${{ matrix.target }}" == "intel" ]; then
PYTHON_CROSSENV=$(pwd)/crossenv
python -m pip install crossenv
python -m crossenv $(which python3) $PYTHON_CROSSENV
source $PYTHON_CROSSENV/bin/activate
python -m pip install cython numpy setuptools wheel
fi', matrix.os, matrix.target) || '' }}
fi
python cy_setup.py build_ext --inplace
- name: Rename compiled extensions
Expand Down

0 comments on commit 23ca50f

Please sign in to comment.