Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ci-gpu.yml #480

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/ci-gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ jobs:
strategy:
fail-fast: false
matrix:
optix: [ optix-7.5.0, optix-7.7.0, optix-8.0.0 ]
cuda: [ '11.7.0', '12.1.0', '12.2.2', '12.3.2' ]
os: [ ubuntu-20.04, windows-latest ]
optix: [ optix-7.5.0, optix-7.7.0, optix-8.1.0 ]
cuda: [ '11.7.0', '12.2.2', '12.6.3', '12.8.0' ]
os: [ ubuntu-24.04, ubuntu-20.04, windows-latest ]

name: GPU Build Only (${{ matrix.os }}, CUDA ${{ matrix.cuda }}, ${{ matrix.optix }})

runs-on: ${{ matrix.os }}

steps:
- uses: jimver/[email protected].19
- uses: jimver/[email protected].21
id: cuda-toolkit
with:
cuda: ${{ matrix.cuda }}
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
vcpkg install zlib:x64-windows-static

- name: Install OpenGL
if: ${{ matrix.os == 'ubuntu-20.04' }}
if: ${{ matrix.os == 'ubuntu-20.04' || matrix.os == 'ubuntu-24.04' }}
run: sudo apt-get install -y --no-install-recommends libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libxext-dev libxfixes-dev libgl1-mesa-dev libwayland-bin libwayland-dev wayland-protocols libxkbcommon-dev libxkbcommon-x11-0

- name: Configure (Windows)
Expand All @@ -86,7 +86,7 @@ jobs:
cmake .. -DCMAKE_TOOLCHAIN_FILE="$env:VCPKG_INSTALLATION_ROOT"/scripts/buildsystems/vcpkg.cmake -DPBRT_USE_PREGENERATED_RGB_TO_SPECTRUM_TABLES=True -DPBRT_OPTIX7_PATH=../optix/${{ matrix.optix }} -DPBRT_GPU_SHADER_MODEL=sm_80

- name: Configure (Linux)
if: ${{ matrix.os == 'ubuntu-20.04' }}
if: ${{ matrix.os == 'ubuntu-20.04' || matrix.os == 'ubuntu-24.04' }}
run: |
cd build
cmake .. -DPBRT_USE_PREGENERATED_RGB_TO_SPECTRUM_TABLES=True -DPBRT_OPTIX7_PATH=../optix/${{ matrix.optix }} -DPBRT_GPU_SHADER_MODEL=sm_80
Expand All @@ -97,7 +97,7 @@ jobs:

- name: Save Windows executable
if: ${{ matrix.os == 'windows-latest' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: pbrt.exe
path: pbrt.exe
Expand Down
Loading