Refactor GPU CI #20
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Package Linux" | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
paths-ignore: | ||
- "docs/**" | ||
- "examples/**" | ||
- "*.md" | ||
branches: | ||
- main | ||
push: | ||
paths-ignore: | ||
- "docs/**" | ||
- "examples/**" | ||
- "*.md" | ||
branches: | ||
- main | ||
jobs: | ||
############################################################################# | ||
# Conda (CPU) | ||
############################################################################# | ||
conda-cpu-py312: | ||
name: "Conda Build (Python 3.12, CPU)" | ||
uses: ./.github/workflows/conda_cpu_build.yml | ||
with: | ||
os: ubuntu-latest | ||
python-version: "3.12" | ||
artifact: conda-cpu-py312 | ||
conda-cpu-py311: | ||
name: "Conda Build (Python 3.11, CPU)" | ||
uses: ./.github/workflows/conda_cpu_build.yml | ||
with: | ||
os: ubuntu-latest | ||
python-version: "3.11" | ||
artifact: conda-cpu-py311 | ||
conda-cpu-py310: | ||
name: "Conda Build (Python 3.10, CPU)" | ||
uses: ./.github/workflows/conda_cpu_build.yml | ||
with: | ||
os: ubuntu-latest | ||
python-version: "3.10" | ||
artifact: conda-cpu-py310 | ||
conda-cpu-py310-test: | ||
name: "Conda Test (Python 3.10, CPU)" | ||
needs: [ "conda-cpu-py310" ] | ||
uses: ./.github/workflows/conda_cpu_test.yml | ||
with: | ||
os: ubuntu-latest | ||
python-version: "3.10" | ||
artifact: conda-cpu-py310 | ||
############################################################################# | ||
# Conda (CUDA-11.8) | ||
############################################################################# | ||
conda-cuda-py312-cu118: | ||
name: "Conda (Python 3.12, CUDA 11.8)" | ||
uses: ./.github/workflows/conda_cuda_build.yml | ||
with: | ||
python-version: "3.12" | ||
cu-version: "11.8.0" | ||
artifact: conda-cuda-py312-cu118 | ||
conda-cuda-py311-cu118: | ||
name: "Conda (Python 3.11, CUDA 11.8)" | ||
uses: ./.github/workflows/conda_cuda_build.yml | ||
with: | ||
python-version: "3.11" | ||
cu-version: "11.8.0" | ||
artifact: conda-cuda-py311-cu118 | ||
conda-cuda-py310-cu118: | ||
name: "Conda (Python 3.10, CUDA 11.8)" | ||
uses: ./.github/workflows/conda_cuda_build.yml | ||
with: | ||
python-version: "3.10" | ||
cu-version: "11.8.0" | ||
artifact: conda-cuda-py310-cu118 | ||
conda-cuda-py310-test: | ||
name: "Conda Test (Python 3.10, CUDA 11.8)" | ||
uses: ./.github/workflows/conda_cuda_test.yml | ||
needs: [ "conda-cuda-py310-cu118" ] | ||
with: | ||
python-version: "3.10" | ||
cu-version: "11.8" | ||
artifact: conda-cuda-py310-cu118 | ||
############################################################################# | ||
# Conda (CUDA-12.1) | ||
############################################################################# | ||
conda-cuda-py312-cu121: | ||
name: "Conda (Python 3.12, CUDA 12.1)" | ||
uses: ./.github/workflows/conda_cuda_build.yml | ||
with: | ||
python-version: "3.12" | ||
cu-version: "12.1.0" | ||
artifact: conda-cuda-py312-cu121 | ||
conda-cuda-py311-cu121: | ||
name: "Conda (Python 3.11, CUDA 12.1)" | ||
uses: ./.github/workflows/conda_cuda_build.yml | ||
with: | ||
python-version: "3.11" | ||
cu-version: "12.1.0" | ||
artifact: conda-cuda-py311-cu121 | ||
conda-cuda-py310-cu121: | ||
name: "Conda (Python 3.10, CUDA 12.1)" | ||
uses: ./.github/workflows/conda_cuda_build.yml | ||
with: | ||
python-version: "3.10" | ||
cu-version: "12.1.0" | ||
artifact: conda-cuda-py310-cu121 | ||
conda-cuda-py310-cu121-test: | ||
name: "Conda (Python 3.10, CUDA 12.1)" | ||
uses: ./.github/workflows/conda_cuda_test.yml | ||
needs: [ conda-cuda-py310-cu121 ] | ||
with: | ||
python-version: "3.10" | ||
cu-version: "12.1" | ||
artifact: conda-cuda-py310-cu121 | ||
############################################################################# | ||
# Wheel (CUDA-12.1) | ||
############################################################################# | ||
wheel-cuda-py312-cu121: | ||
name: "Wheel (Python 3.12, CUDA 12.1)" | ||
uses: ./.github/workflows/wheel_cuda_build.yml | ||
with: | ||
python-version: "3.12" | ||
cu-version: "12.1" | ||
artifact: wheel-cuda-py312-cu121 | ||
wheel-cuda-py311-cu121: | ||
name: "Wheel (Python 3.11, CUDA 12.1)" | ||
uses: ./.github/workflows/wheel_cuda_build.yml | ||
with: | ||
python-version: "3.11" | ||
cu-version: "12.1" | ||
artifact: wheel-cuda-py311-cu121 | ||
wheel-cuda-py310-cu121: | ||
name: "Wheel (Python 3.10, CUDA 12.1)" | ||
uses: ./.github/workflows/wheel_cuda_build.yml | ||
with: | ||
python-version: "3.10" | ||
cu-version: "12.1" | ||
artifact: wheel-cuda-py310-cu121 | ||
wheel-cuda-py310-cu121-test: | ||
name: "Wheel (Python 3.10, CUDA 12.1)" | ||
needs: [ wheel-cuda-py310-cu121 ] | ||
uses: ./.github/workflows/wheel_cuda_test.yml | ||
Check failure on line 159 in .github/workflows/package_linux.yml GitHub Actions / Package LinuxInvalid workflow file
|
||
with: | ||
python-version: "3.10" | ||
cu-version: "12.1" | ||
artifact: wheel-cuda-py310-cu121 |