forked from facebookincubator/ft_utils
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kevin Newton
committed
Jan 15, 2025
1 parent
39e2eb0
commit 54ba1f8
Showing
3 changed files
with
87 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,30 +22,30 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
include: | ||
- wheel: "linux-3.12" | ||
os: ubuntu-latest | ||
CIBW_BUILD: "cp312-*" | ||
- wheel: "linux-3.13" | ||
os: ubuntu-latest | ||
CIBW_BUILD: "cp313-*" | ||
- wheel: "linux-3.13t" | ||
os: ubuntu-latest | ||
CIBW_BUILD: "cp313t-*" | ||
CIBW_ENABLE: "cpython-freethreading" | ||
# - wheel: "linux-3.12" | ||
# os: ubuntu-latest | ||
# CIBW_BUILD: "cp312-*" | ||
# - wheel: "linux-3.13" | ||
# os: ubuntu-latest | ||
# CIBW_BUILD: "cp313-*" | ||
# - wheel: "linux-3.13t" | ||
# os: ubuntu-latest | ||
# CIBW_BUILD: "cp313t-*" | ||
# CIBW_ENABLE: "cpython-freethreading" | ||
- wheel: "windows-3.13" | ||
os: windows-latest | ||
CIBW_BUILD: "cp313-*" | ||
CIBW_BUILD: "cp313-win_amd64" | ||
- wheel: "windows-3.13t" | ||
os: windows-latest | ||
CIBW_BUILD: "cp313t-*" | ||
CIBW_BUILD: "cp313t-win_amd64" | ||
CIBW_ENABLE: "cpython-freethreading" | ||
- wheel: "macos-3.13" | ||
os: macos-latest | ||
CIBW_BUILD: "cp313-*" | ||
- wheel: "macos-3.13t" | ||
os: macos-latest | ||
CIBW_BUILD: "cp313t-*" | ||
CIBW_ENABLE: "cpython-freethreading" | ||
# - wheel: "macos-3.13t" | ||
# os: macos-latest | ||
# CIBW_BUILD: "cp313t-*" | ||
# CIBW_ENABLE: "cpython-freethreading" | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
|
@@ -66,7 +66,7 @@ jobs: | |
env: | ||
CIBW_BUILD: ${{ matrix.CIBW_BUILD }} | ||
CIBW_ENABLE: ${{ matrix.CIBW_ENABLE }} | ||
CIBW_TEST_COMMAND: python -m ft_utils.tests.test_run_all | ||
CIBW_TEST_COMMAND: python -m ft_utils.tests.test_weave | ||
|
||
- name: Upload Python wheels | ||
uses: actions/upload-artifact@v4 | ||
|
@@ -75,48 +75,48 @@ jobs: | |
path: wheelhouse/*.whl | ||
|
||
|
||
deadsnakes: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- wheel: "linux-3.14" | ||
python-version: "3.14-dev" | ||
nogil: false | ||
- wheel: "linux-3.14t" | ||
python-version: "3.14-dev" | ||
nogil: true | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: deadsnakes/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
nogil: ${{ matrix.nogil }} | ||
|
||
- name: Install build dependencies | ||
run: python -m pip install --upgrade setuptools wheel | ||
|
||
- name: Build Python wheels | ||
run: python setup.py bdist_wheel | ||
|
||
- name: Install wheels | ||
run: python -m pip install build/dist/*.whl | ||
|
||
- name: Test Python wheels | ||
run: | | ||
mkdir test_dir | ||
cd test_dir | ||
python -V | ||
python -m ft_utils.tests.test_run_all | ||
- name: Upload Python wheels | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ matrix.wheel }}.zip | ||
path: build/dist/*.whl | ||
# deadsnakes: | ||
# strategy: | ||
# fail-fast: false | ||
# matrix: | ||
# include: | ||
# - wheel: "linux-3.14" | ||
# python-version: "3.14-dev" | ||
# nogil: false | ||
# - wheel: "linux-3.14t" | ||
# python-version: "3.14-dev" | ||
# nogil: true | ||
|
||
# runs-on: ubuntu-latest | ||
|
||
# steps: | ||
# - name: Checkout code | ||
# uses: actions/checkout@v4 | ||
|
||
# - name: Set up Python | ||
# uses: deadsnakes/[email protected] | ||
# with: | ||
# python-version: ${{ matrix.python-version }} | ||
# nogil: ${{ matrix.nogil }} | ||
|
||
# - name: Install build dependencies | ||
# run: python -m pip install --upgrade setuptools wheel | ||
|
||
# - name: Build Python wheels | ||
# run: python setup.py bdist_wheel | ||
|
||
# - name: Install wheels | ||
# run: python -m pip install build/dist/*.whl | ||
|
||
# - name: Test Python wheels | ||
# run: | | ||
# mkdir test_dir | ||
# cd test_dir | ||
# python -V | ||
# python -m ft_utils.tests.test_run_all | ||
|
||
# - name: Upload Python wheels | ||
# uses: actions/upload-artifact@v4 | ||
# with: | ||
# name: ${{ matrix.wheel }}.zip | ||
# path: build/dist/*.whl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters