Commit 6ec25206 authored by Aarni Koskela's avatar Aarni Koskela
Browse files

CI: build only on Python 3.10 (Python 3.11 can use the same wheel)

parent 1cbe9fd8
...@@ -20,16 +20,11 @@ jobs: ...@@ -20,16 +20,11 @@ jobs:
matrix: matrix:
os: [ubuntu-latest, windows-latest] os: [ubuntu-latest, windows-latest]
python-version: ['3.10', '3.11']
cuda-version: ['11.8', '12.1'] cuda-version: ['11.8', '12.1']
build_type: [Release] build_type: [Release]
steps: steps:
- uses: actions/checkout@v4 - 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 - name: Set up MSVC
if: matrix.os == 'windows-latest' if: matrix.os == 'windows-latest'
...@@ -52,7 +47,7 @@ jobs: ...@@ -52,7 +47,7 @@ jobs:
environment-file: environment-bnb.yml environment-file: environment-bnb.yml
use-only-tar-bz2: false use-only-tar-bz2: false
auto-activate-base: true auto-activate-base: true
python-version: ${{ matrix.python-version }} python-version: "3.10"
mamba-version: "*" mamba-version: "*"
- name: Set reusable strings - name: Set reusable strings
...@@ -159,6 +154,6 @@ jobs: ...@@ -159,6 +154,6 @@ jobs:
- name: Upload Build Artifacts - name: Upload Build Artifacts
uses: actions/upload-artifact@v4.3.0 uses: actions/upload-artifact@v4.3.0
with: with:
name: bitsandbytes-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.cuda-version }} name: bitsandbytes-${{ matrix.os }}-${{ matrix.cuda-version }}
path: | path: |
${{ github.workspace }}/dist/ ${{ github.workspace }}/dist/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment