Skip to content

Commit

Permalink
Merge branch 'ershi/github-cuda-12' into 'main'
Browse files Browse the repository at this point in the history
Build Warp with CUDA 12 on GitHub

See merge request omniverse/warp!963
  • Loading branch information
shi-eric committed Jan 9, 2025
2 parents 211b962 + 8e4f588 commit a1a2980
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,19 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install CTK
uses: Jimver/[email protected]
id: cuda-toolkit
with:
sub-packages: '["cudart", "nvcc", "nvrtc_dev", "nvjitlink"]'
method: 'network'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --no-cache-dir --upgrade numpy
tools/packman/packman install -l _build/target-deps/cuda cuda 11.8.0_522.06-abe3d9d7-windows-x86_64
- name: Build
run: |
python build_lib.py --cuda_path=_build/target-deps/cuda
python build_lib.py
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
Expand All @@ -61,14 +66,20 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install CTK
uses: Jimver/[email protected]
id: cuda-toolkit
with:
sub-packages: '["cudart-dev", "nvcc", "nvrtc-dev"]'
non-cuda-sub-packages: '["libnvjitlink-dev"]'
method: 'network'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --no-cache-dir --upgrade numpy
- name: Build Warp
run: |
tools/packman/packman install -l _build/target-deps/cuda cuda 11.8.0_520.61-d8963068-linux-x86_64
python build_lib.py --cuda_path=_build/target-deps/cuda
python build_lib.py
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit a1a2980

Please sign in to comment.