Skip to content

Commit

Permalink
test_wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
elephaint committed Feb 8, 2024
1 parent 692793d commit 1c22ffe
Showing 1 changed file with 30 additions and 6 deletions.
36 changes: 30 additions & 6 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,14 @@ jobs:
- os: windows-latest
python: 310
platform_id: win_amd64

# Linux 64 bit manylinux2014
- os: windows-latest
python: 311
platform_id: win_amd64
- os: windows-latest
python: 312
platform_id: win_amd64

# Linux 64 bit manylinux2014
- os: ubuntu-latest
python: 38
platform_id: manylinux_x86_64
Expand All @@ -33,12 +39,18 @@ jobs:
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
- os: ubuntu-latest
python: 312
platform_id: manylinux_x86_64
manylinux_image: manylinux2014

# MacOS x86_64
- os: macos-latest
Expand All @@ -50,6 +62,12 @@ jobs:
- os: macos-latest
python: 310
platform_id: macosx_x86_64
- os: macos-latest
python: 311
platform_id: macosx_x86_64
- os: macos-latest
python: 312
platform_id: macosx_x86_64

# MacOS arm64
- os: macos-latest
Expand All @@ -61,6 +79,12 @@ jobs:
- os: macos-latest
python: 310
platform_id: macosx_arm64
- os: macos-latest
python: 311
platform_id: macosx_arm64
- os: macos-latest
python: 312
platform_id: macosx_arm64

steps:
- name: Checkout PGBM
Expand All @@ -72,7 +96,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.9' # update once build dependencies are available
python-version: '3.8' # update once build dependencies are available

- name: Build wheels
env:
Expand Down Expand Up @@ -104,7 +128,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.9' # update once build dependencies are available
python-version: '3.8' # update once build dependencies are available

- name: Build source distribution
run: bash .github/scripts/build_source.sh
Expand Down

0 comments on commit 1c22ffe

Please sign in to comment.