1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291
|
## Copyright 2022 Intel Corporation
## SPDX-License-Identifier: Apache-2.0
name: continuous
permissions: read-all
on: [push, workflow_dispatch]
jobs:
ze_raytracing-ubuntu22_04-GCC:
secrets: inherit
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
with:
image: embree/ubuntu:22.04
runs-on: '[ "Linux", "docker", "build" ]'
cmd: |
mkdir build
cd build
cmake -G Ninja -D CMAKE_CXX_COMPILER=g++ -D CMAKE_C_COMPILER=gcc -D CMAKE_BUILD_TYPE=Release ..
cmake --build . --target package
ze_raytracing-linux-DPCPP-test:
secrets: inherit
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
with:
image: embree/ubuntu:22.04
runs-on: '[ "Linux", "docker", "build" ]'
env-from-files: ./.github/workflows/dpcpp-sycl-nightly.env
artifact-out: ze_raytracing-linux-DPCPP-test
artifact-path: ./build/intel-level-zero-gpu-raytracing*.tar.gz
cmd: |
mkdir build
cd build
cmake -G Ninja -D CMAKE_BUILD_TYPE=ReleaseInternal -D CMAKE_CXX_COMPILER=clang++ -D CMAKE_C_COMPILER=clang -D ZE_RAYTRACING_TBB=build_static -D ZE_RAYTRACING_SYCL_TESTS=INTERNAL_RTAS_BUILDER ..
cmake --build . --target package
ze_raytracing-linux-DPCPP-test-DG2:
secrets: inherit
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
needs: ["ze_raytracing-linux-DPCPP-test"]
with:
image: embree/ubuntu:22.04
options: --device=/dev/dri:/dev/dri
runs-on: '[ "Linux", "docker", "dg2" ]'
env-from-files: ./.github/workflows/gfx-ubuntu22-internal.env
artifact-in: ze_raytracing-linux-DPCPP-test
cmd: |
cd build
tar xzf intel-level-zero-gpu-raytracing*.x86_64.linux.tar.gz
cd intel-level-zero-gpu-raytracing*.x86_64.linux
./run.sh
./run_ext.sh
cd bin
ctest -VV
ze_raytracing-linux-DPCPP-test-PVC:
secrets: inherit
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
needs: ["ze_raytracing-linux-DPCPP-test"]
with:
image: embree/ubuntu:22.04
options: --device=/dev/dri:/dev/dri
runs-on: '[ "Linux", "docker", "pvc" ]'
env-from-files: ./.github/workflows/gfx-ubuntu22-internal.env
artifact-in: ze_raytracing-linux-DPCPP-test
cmd: |
cd build
tar xzf intel-level-zero-gpu-raytracing*.x86_64.linux.tar.gz
cd intel-level-zero-gpu-raytracing*.x86_64.linux
./run.sh
./run_ext.sh
cd bin
ctest -VV
ze_raytracing-linux-ICX-test:
secrets: inherit
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
with:
image: embree/ubuntu:22.04
runs-on: '[ "Linux", "docker", "build" ]'
dpcpp-version: intel/2025.2.1.7
artifact-out: ze_raytracing-linux-ICX-test
artifact-path: ./build/intel-level-zero-gpu-raytracing*.tar.gz
cmd: |
mkdir build
cd build
cmake -G Ninja -D CMAKE_BUILD_TYPE=ReleaseInternal -D CMAKE_CXX_COMPILER=icpx -D CMAKE_C_COMPILER=icx -D ZE_RAYTRACING_TBB=inject_headers -D ZE_RAYTRACING_SYCL_TESTS=INTERNAL_RTAS_BUILDER ..
cmake --build . --target package
ze_raytracing-linux-ICX-test-DG2:
secrets: inherit
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
needs: ["ze_raytracing-linux-ICX-test"]
with:
image: embree/ubuntu:22.04
options: --device=/dev/dri:/dev/dri
runs-on: '[ "Linux", "docker", "dg2" ]'
env-from-files: ./.github/workflows/gfx-ubuntu22-internal.env
artifact-in: ze_raytracing-linux-ICX-test
cmd: |
cd build
tar xzf intel-level-zero-gpu-raytracing*.x86_64.linux.tar.gz
cd intel-level-zero-gpu-raytracing*.x86_64.linux
./run.sh
./run_ext.sh
cd bin
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:. ctest -VV
ze_raytracing-linux-ICX-test-level-zero:
secrets: inherit
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
with:
image: embree/ubuntu:22.04
runs-on: '[ "Linux", "docker", "build" ]'
dpcpp-version: intel/2025.2.1.7
artifact-out: ze_raytracing-linux-ICX-test-level-zero
artifact-path: ./build/intel-level-zero-gpu-raytracing*.tar.gz
cmd: |
mkdir build
cd build
cmake -G Ninja -D CMAKE_BUILD_TYPE=ReleaseInternal -D CMAKE_CXX_COMPILER=icpx -D CMAKE_C_COMPILER=icx -D ZE_RAYTRACING_TBB=normal -D ZE_RAYTRACING_SYCL_TESTS=LEVEL_ZERO_RTAS_BUILDER ..
cmake --build . --target package
ze_raytracing-linux-ICX-test-level-zero-DG2:
secrets: inherit
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
needs: ["ze_raytracing-linux-ICX-test-level-zero"]
with:
image: embree/ubuntu:22.04
options: --device=/dev/dri:/dev/dri
runs-on: '[ "Linux", "docker", "dg2" ]'
env-from-files: ./.github/workflows/gfx-ubuntu22-internal.env
artifact-in: ze_raytracing-linux-ICX-test-level-zero
cmd: |
cd build
tar xzf intel-level-zero-gpu-raytracing*.x86_64.linux.tar.gz
cd intel-level-zero-gpu-raytracing*.x86_64.linux
./run.sh
./run_ext.sh
cd bin
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:. ctest -VV
ze_raytracing-windows-VS2022-Debug:
secrets: inherit
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/windows.yml@main
with:
runs-on: '[ "Windows", "build" ]'
cmd: |
mkdir build
cd build
cmake -G "Visual Studio 17 2022" -A "x64" ..
cmake --build . --config Debug --target package
ze_raytracing-windows-VS2022-Release:
secrets: inherit
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/windows.yml@main
with:
runs-on: '[ "Windows", "build" ]'
cmd: |
mkdir build
cd build
cmake -G "Visual Studio 17 2022" -A "x64" ..
cmake --build . --config Release --target package
ze_raytracing-windows-VS2022-ReleaseInternal:
secrets: inherit
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/windows.yml@main
with:
runs-on: '[ "Windows", "build" ]'
cmd: |
mkdir build
cd build
cmake -G "Visual Studio 17 2022" -A "x64" ..
cmake --build . --config ReleaseInternal --target package
ze_raytracing-windows-test:
secrets: inherit
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/windows.yml@main
with:
runs-on: '[ "Windows", "build" ]'
env-from-files: ./.github/workflows/dpcpp-sycl-nightly.env
artifact-path: ./build/intel-level-zero-gpu-raytracing*.zip
artifact-out: ze_raytracing-windows-test
cmd: |
mkdir build
cd build
cmake -G Ninja -D CMAKE_BUILD_TYPE=ReleaseInternal -D CMAKE_CXX_COMPILER=clang++ -D CMAKE_C_COMPILER=clang -D ZE_RAYTRACING_SYCL_TESTS=INTERNAL_RTAS_BUILDER ..
cmake --build . --target package
ze_raytracing-windows-test-DG2:
secrets: inherit
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/windows.yml@main
needs: ["ze_raytracing-windows-test"]
with:
runs-on: '[ "Windows", "dg2" ]'
env-from-files: ./.github/workflows/gfx-windows-internal.env
artifact-in: ze_raytracing-windows-test
cmd: |
cd build
unzip intel-level-zero-gpu-raytracing*.x64.windows.zip
cd intel-level-zero-gpu-raytracing*.x64.windows
.\run.bat
if ($LASTEXITCODE -ne 0) { throw "Command failed" }
cd bin
ctest -VV
if ($LASTEXITCODE -ne 0) { throw "Command failed" }
ze_raytracing-windows-test-level-zero:
secrets: inherit
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/windows.yml@main
with:
runs-on: '[ "Windows", "build" ]'
env-from-files: ./.github/workflows/dpcpp-sycl-nightly.env
artifact-path: ./build/intel-level-zero-gpu-raytracing*.zip
artifact-out: ze_raytracing-windows-test-level-zero
cmd: |
mkdir build
cd build
cmake -G Ninja -D CMAKE_BUILD_TYPE=ReleaseInternal -D CMAKE_CXX_COMPILER=clang++ -D CMAKE_C_COMPILER=clang -D ZE_RAYTRACING_SYCL_TESTS=LEVEL_ZERO_RTAS_BUILDER ..
cmake --build . --target package
ze_raytracing-windows-test-level-zero-DG2:
secrets: inherit
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/windows.yml@main
needs: ["ze_raytracing-windows-test-level-zero"]
with:
runs-on: '[ "Windows", "dg2" ]'
env-from-files: ./.github/workflows/gfx-windows-internal.env
artifact-in: ze_raytracing-windows-test-level-zero
cmd: |
cd build
unzip intel-level-zero-gpu-raytracing*.x64.windows.zip
cd intel-level-zero-gpu-raytracing*.x64.windows
.\run.bat
if ($LASTEXITCODE -ne 0) { throw "Command failed" }
cd bin
ctest -VV
if ($LASTEXITCODE -ne 0) { throw "Command failed" }
static-analysis-coverity-linux:
secrets: inherit
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/static_analysis.yml@main
with:
project: "Level Zero Ray Tracing Support"
server: prod4
prebuild: |
cmake -S . -B build -D CMAKE_CXX_COMPILER=g++ -D CMAKE_C_COMPILER=gcc -D CMAKE_BUILD_TYPE=Release -D ZE_RAYTRACING_TBB=build_static
build: cmake --build build
os: Linux
static-analysis-coverity-windows:
secrets: inherit
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/static_analysis.yml@main
with:
project: "Level Zero Ray Tracing Support"
server: prod4
prebuild: |
cmake -S . -B build -D CMAKE_CXX_COMPILER=g++ -D CMAKE_C_COMPILER=gcc -D CMAKE_BUILD_TYPE=Release -D ZE_RAYTRACING_TBB=build_static
build: cmake --build build
os: Windows
success:
runs-on: ubuntu-latest
needs:
- ze_raytracing-ubuntu22_04-GCC
- ze_raytracing-linux-DPCPP-test
- ze_raytracing-linux-DPCPP-test-DG2
- ze_raytracing-linux-DPCPP-test-PVC
- ze_raytracing-linux-ICX-test
- ze_raytracing-linux-ICX-test-DG2
- ze_raytracing-linux-ICX-test-level-zero
- ze_raytracing-linux-ICX-test-level-zero-DG2
- ze_raytracing-windows-VS2022-Debug
- ze_raytracing-windows-VS2022-Release
- ze_raytracing-windows-VS2022-ReleaseInternal
- ze_raytracing-windows-test
- ze_raytracing-windows-test-DG2
- ze_raytracing-windows-test-level-zero
- ze_raytracing-windows-test-level-zero-DG2
- static-analysis-coverity-linux
- static-analysis-coverity-windows
if: failure() || cancelled()
steps:
- name: Failure
run: |
echo "::notice title=Success::Workflow failed"
exit 1
|