Skip to content

Commit

Permalink
fix python-version
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-jansen committed Jul 11, 2023
1 parent 19499f5 commit 4e9855f
Showing 1 changed file with 12 additions and 58 deletions.
70 changes: 12 additions & 58 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,57 +16,10 @@ jobs:
strategy:
fail-fast: false
matrix:
include:
# Window 64 bit
# Note: windows-2019 is needed for older Python versions:
- os: windows-2019
python: 38
platform_id: win_amd64
- os: windows-latest
python: 39
platform_id: win_amd64
- os: windows-latest
python: 310
platform_id: win_amd64
- os: windows-latest
python: 311
platform_id: win_amd64

# Linux 64 bit manylinux2014
- os: ubuntu-latest
python: 38
platform_id: manylinux_x86_64
manylinux_image: manylinux2014
- os: ubuntu-latest
python: 39
platform_id: manylinux_x86_64
manylinux_image: manylinux2014

# NumPy on Python 3.10 only supports 64bit and is only available with manylinux2014
- os: ubuntu-latest
python: 310
platform_id: manylinux_x86_64
manylinux_image: manylinux2014
- os: ubuntu-latest
python: 311
platform_id: manylinux_x86_64
manylinux_image: manylinux2014

# MacOS x86_64
- os: macos-latest
python: 38
platform_id: macosx_x86_64
- os: macos-latest
python: 39
platform_id: macosx_x86_64
- os: macos-latest
python: 310
platform_id: macosx_x86_64
- os: macos-latest
python: 311
platform_id: macosx_x86_64

# os: [ ubuntu-latest , windows-latest, macos-latest ]
os: [ ubuntu-latest , windows-latest, macos-latest ]
cibw_build: [ "cp38-* cp39-* cp310-* cp311-*" ]
cibw_arch: [ "native" ]

# python: [ 38, 39, 310, 311 ]
# arch: [ auto64 ]

Expand All @@ -76,10 +29,10 @@ jobs:
with:
fetch-depth: 0

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
# - name: Setup Python
# uses: actions/setup-python@v4
# with:
# python-version: ${{ matrix.python }}

- name: Set Xcode version
uses: maxim-lobanov/setup-xcode@v1
Expand All @@ -93,9 +46,10 @@ jobs:
env:
CIBW_BEFORE_ALL_LINUX: ./tools/install_talib.sh
CIBW_BEFORE_ALL_MACOS: brew install ta-lib
CIBW_ARCHS_LINUX: ${{ matrix.arch }}
CIBW_ARCHS_LINUX: ${{ matrix.cibw_arch }}
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_BUILD: "cp${{ matrix.python }}-*"
# CIBW_BUILD: "cp${{ matrix.python }}-*"
CIBW_BUILD: ${{ matrix.cibw_build }}
CIBW_SKIP: "*-musllinux_*"
CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=10.15

Expand Down Expand Up @@ -131,7 +85,7 @@ jobs:
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: '3.9'
python-version: '3.11'

- name: Build sdist
run: |
Expand Down

0 comments on commit 4e9855f

Please sign in to comment.