Skip to content

Commit

Permalink
CI: build only on Python 3.10 (Python 3.11 can use the same wheel)
Browse files Browse the repository at this point in the history
  • Loading branch information
akx committed Feb 1, 2024
1 parent 1cbe9fd commit 6ec2520
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,11 @@ jobs:

matrix:
os: [ubuntu-latest, windows-latest]
python-version: ['3.10', '3.11']
cuda-version: ['11.8', '12.1']
build_type: [Release]

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Set up MSVC
if: matrix.os == 'windows-latest'
Expand All @@ -52,7 +47,7 @@ jobs:
environment-file: environment-bnb.yml
use-only-tar-bz2: false
auto-activate-base: true
python-version: ${{ matrix.python-version }}
python-version: "3.10"
mamba-version: "*"

- name: Set reusable strings
Expand Down Expand Up @@ -159,6 +154,6 @@ jobs:
- name: Upload Build Artifacts
uses: actions/[email protected]
with:
name: bitsandbytes-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.cuda-version }}
name: bitsandbytes-${{ matrix.os }}-${{ matrix.cuda-version }}
path: |
${{ github.workspace }}/dist/

0 comments on commit 6ec2520

Please sign in to comment.