Skip to content

Commit

Permalink
Have separate forks for cpu and gpu distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
ewanwm authored Sep 20, 2024
1 parent 36bf503 commit f7299ce
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/pypi-distribution.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,23 @@ on:

jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- build_type: cpu
- build_type: cuda

name: Build distribution 📦
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: cuda-toolkit
if: ${{ startsWith(matrix.build_type, 'cuda') }}
uses: Jimver/cuda-toolkit@v0.2.17

- name: Set up Python
uses: actions/setup-python@v5
with:
Expand Down

0 comments on commit f7299ce

Please sign in to comment.