From 2b0c31597f6ec3d037afcbd437e10c9af9744570 Mon Sep 17 00:00:00 2001 From: Stefan Zellmann Date: Fri, 4 Oct 2024 23:19:03 +0200 Subject: [PATCH] try enabling Ubuntu 24.04 --- .github/workflows/anari-visionaray-ci.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/anari-visionaray-ci.yml b/.github/workflows/anari-visionaray-ci.yml index 58e3aa43..3a21926a 100644 --- a/.github/workflows/anari-visionaray-ci.yml +++ b/.github/workflows/anari-visionaray-ci.yml @@ -2,7 +2,7 @@ name: anari-visionaray CI on: push: - branches: [ main ] + branches: [ main, ci ] pull_request: branches: [ main ] @@ -11,17 +11,17 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest] + os: [ubuntu-24.04] config: [Release, Debug] steps: - uses: actions/checkout@v3 - name: Install Packages - if: ${{ matrix.os == 'ubuntu-latest' }} + if: ${{ matrix.os == 'ubuntu-24.04' }} run: | sudo apt update - sudo apt install -y libglew-dev libboost-all-dev # nvidia-cuda-toolkit + sudo apt install -y libglew-dev libboost-all-dev nvidia-cuda-toolkit - name: Checkout ANARI-SDK uses: actions/checkout@v3 @@ -58,7 +58,8 @@ jobs: -DVSNRAY_ENABLE_EXAMPLES:BOOL=OFF \ -DVSNRAY_ENABLE_VIEWER:BOOL=OFF \ -DVSNRAY_ENABLE_COMMON:BOOL=OFF \ - -DVSNRAY_ENABLE_CUDA:BOOL=OFF + -DVSNRAY_ENABLE_CUDA:BOOL=ON \ + -DVSNRAY_ENABLE_TBB:BOOL=OFF \ cmake --build visionaray/build --target install - name: Configure CMake @@ -69,7 +70,7 @@ jobs: -DCMAKE_BUILD_TYPE=${{ matrix.config }} -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/build/install -DBUILD_SHARED_LIBS:BOOL=ON - -DANARI_VISIONARAY_ENABLE_CUDA:BOOL=OFF # cuda and gcc-11.4 don't work together + -DANARI_VISIONARAY_ENABLE_CUDA:BOOL=ON # cuda and gcc-11.4 don't work together - name: Build run: cmake --build ${{github.workspace}}/build --config ${{ matrix.config }} --target install