Skip to content

Test building cuda wheels #1

Test building cuda wheels

Test building cuda wheels #1

Workflow file for this run

# Taken from osqp-python
name: Build CUDA Linux
on:
# Triggers the workflow on push or pull request events
push:
branches:
- "*"
- "*/*"
- "**"
pull_request:
branches: [main]
jobs:
build_wheels:
name: Build wheel on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@master
- name: Build wheels
uses: pypa/cibuildwheel@v2.23
with:
package-dir: backend/cuda
config-file: backend/cuda/cibuildwheel.toml
output-dir: wheelhouse
- name: Upload artifacts to github
uses: actions/upload-artifact@v4
with:
name: wheels-cuda-${{ matrix.os }}
path: ./wheelhouse