Skip to content

Commit

Permalink
BUG: quotes again
Browse files Browse the repository at this point in the history
  • Loading branch information
cookpa committed May 14, 2024
1 parent 2821337 commit 9cc32b6
Showing 1 changed file with 67 additions and 67 deletions.
134 changes: 67 additions & 67 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,92 +19,92 @@ jobs:
# Need to quote decimal versions as string to avoid the "Norway problem"

# Windows 64-bit
- os: windows-latest
python: '3.8'
cibw_python: 38
platform_id: win_amd64
- os: windows-latest
python: '3.9'
cibw_python: 39
platform_id: win_amd64
- os: windows-latest
python: '3.10'
cibw_python: 310
platform_id: win_amd64
# - os: windows-latest
# python: '3.8'
# cibw_python: 38
# platform_id: win_amd64
# - os: windows-latest
# python: '3.9'
# cibw_python: 39
# platform_id: win_amd64
# - os: windows-latest
# python: '3.10'
# cibw_python: 310
# platform_id: win_amd64
- os: windows-latest
python: '3.11'
cibw_python: 311
platform_id: win_amd64
- os: windows-latest
python: '3.12'
cibw_python: 312
platform_id: win_amd64
# - os: windows-latest
# python: '3.12'
# cibw_python: 312
# platform_id: win_amd64

# Linux 64-bit
- os: ubuntu-latest
python: '3.8'
cibw_python: 38
platform_id: manylinux_x86_64
- os: ubuntu-latest
python: '3.9'
cibw_python: 39
platform_id: manylinux_x86_64
- os: ubuntu-latest
python: '3.10'
cibw_python: 310
platform_id: manylinux_x86_64
# - os: ubuntu-latest
# python: '3.8'
# cibw_python: 38
# platform_id: manylinux_x86_64
# - os: ubuntu-latest
# python: '3.9'
# cibw_python: 39
# platform_id: manylinux_x86_64
# - os: ubuntu-latest
# python: '3.10'
# cibw_python: 310
# platform_id: manylinux_x86_64
- os: ubuntu-latest
python: '3.11'
cibw_python: 311
platform_id: manylinux_x86_64
- os: ubuntu-latest
python: '3.12'
cibw_python: 312
platform_id: manylinux_x86_64
# - os: ubuntu-latest
# python: '3.12'
# cibw_python: 312
# platform_id: manylinux_x86_64

# macOS on Intel 64-bit
- os: macos-12
python: '3.8'
cibw_python: 38
arch: x86_64
platform_id: macosx_x86_64
- os: macos-12
python: '3.9'
cibw_python: 39
arch: x86_64
platform_id: macosx_x86_64
- os: macos-12
python: '3.10'
cibw_python: 310
arch: x86_64
platform_id: macosx_x86_64
# - os: macos-12
# python: '3.8'
# cibw_python: 38
# arch: x86_64
# platform_id: macosx_x86_64
# - os: macos-12
# python: '3.9'
# cibw_python: 39
# arch: x86_64
# platform_id: macosx_x86_64
# - os: macos-12
# python: '3.10'
# cibw_python: 310
# arch: x86_64
# platform_id: macosx_x86_64
- os: macos-12
python: '3.11'
cibw_python: 311
arch: x86_64
platform_id: macosx_x86_64
- os: macos-12
python: '3.12'
cibw_python: 312
arch: x86_64
platform_id: macosx_x86_64
# - os: macos-12
# python: '3.12'
# cibw_python: 312
# arch: x86_64
# platform_id: macosx_x86_64

# macOS on Apple M1 64-bit, supported for Python 3.10 and later
- os: macos-14
python: '3.10'
cibw_python: 310
arch: arm64
platform_id: macosx_arm64
# - os: macos-14
# python: '3.10'
# cibw_python: 310
# arch: arm64
# platform_id: macosx_arm64
- os: macos-14
python: '3.11'
cibw_python: 311
arch: arm64
platform_id: macosx_arm64
- os: macos-14
python: '3.12'
cibw_python: 312
arch: arm64
platform_id: macosx_arm64
# - os: macos-14
# python: '3.12'
# cibw_python: 312
# arch: arm64
# platform_id: macosx_arm64

steps:
- uses: actions/checkout@v4
Expand All @@ -127,16 +127,16 @@ jobs:
- name: Get package name and version (Linux / Mac)
if: ${{ ! startsWith(matrix.os, 'windows-') }}
run: |
echo PACKAGE_NAME=$( python -c "import toml; print(toml.load('pyproject.toml')['project']['name'])" ) >> $GITHUB_ENV
echo PACKAGE_VERSION=$( python -c "import toml; print(toml.load('pyproject.toml')['project']['version'])" ) >> $GITHUB_ENV
echo "PACKAGE_NAME=$( python -c "import toml; print(toml.load('pyproject.toml')['project']['name'])" )" >> $GITHUB_ENV
echo "PACKAGE_VERSION=$( python -c "import toml; print(toml.load('pyproject.toml')['project']['version'])" )" >> $GITHUB_ENV
# Some shells require "-Encoding utf8" to append to GITHUB_ENV
# https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions?tool=powershell#environment-files
- name: Get package name and version (Windows)
if: startsWith(matrix.os, 'windows-')
run: |
echo "PACKAGE_NAME=$( python -c "import toml; print(toml.load('pyproject.toml')['project']['name'])" ) | Out-File -FilePath $env:GITHUB_ENV ` -Append
echo "PACKAGE_VERSION=$( python -c "import toml; print(toml.load('pyproject.toml')['project']['version'])" ) | Out-File -FilePath $env:GITHUB_ENV ` -Append
echo "PACKAGE_NAME=$( python -c "import toml; print(toml.load('pyproject.toml')['project']['name'])" )" | Out-File -FilePath $env:GITHUB_ENV ` -Append
echo "PACKAGE_VERSION=$( python -c "import toml; print(toml.load('pyproject.toml')['project']['version'])" )" | Out-File -FilePath $env:GITHUB_ENV ` -Append
- name: Build wheels
env:
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
fi
CIBW_ENVIRONMENT_MACOS: |
CMAKE_OSX_ARCHITECTURES=${{ matrix.arch }} CMAKE_PREFIX_PATH=/usr/local
CMAKE_OSX_ARCHITECTURES=${{ matrix.arch }} CMAKE_PREFIX_PATH=/usr/local MACOSX_DEPLOYMENT_TARGET=10.14
run: python -m cibuildwheel --output-dir wheelhouse/cp${{ matrix.cibw_python }}-${{matrix.platform_id }}

Expand Down

0 comments on commit 9cc32b6

Please sign in to comment.