Skip to content

try cuda image

try cuda image #15

Workflow file for this run

name: Build Python Wheels
on:
push:
branches:
- main
tags:
- '*'
pull_request:
branches:
- main
release:
types: [published]
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
build-wheels:
name: Build Python Wheels (${{ matrix.OS }})
strategy:
fail-fast: false
matrix:
OS: ["ubuntu-24.04", "windows-2022"]
runs-on: ${{ matrix.OS }}
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
show-progress: true
- name: Build wheels
uses: pypa/cibuildwheel@v3.1.0
env:
CIBW_BUILD: "cp311-*"
CIBW_CONFIG_SETTINGS: "wheel.build-tag=${{ github.run_number }}"
with:
output-dir: wheelhouse
- name: List built wheels (verify build tag)
shell: bash
run: |
echo "Built wheels:"
ls -lh wheelhouse/*.whl || dir wheelhouse\*.whl
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheelhouse-${{ matrix.OS }}
path: wheelhouse/*.whl