Skip to content

Commit a033916

Browse files
committed
added gpu debug build to ci
1 parent 1372ca0 commit a033916

2 files changed

Lines changed: 107 additions & 13 deletions

File tree

.github/workflows/continuous.yml

Lines changed: 77 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,41 @@ jobs:
113113
cmake --preset linux-DG2-JIT-PUBLIC-ICX -DCMAKE_BUILD_TYPE=Release -DEMBREE_TESTING_INTENSITY=3
114114
cmake --build build --config Release --target test_package
115115
116+
117+
linux-DG2-JIT-PUBLIC-debug-build:
118+
secrets: inherit
119+
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
120+
with:
121+
image: embree/ubuntu:24.04
122+
runs-on: '[ "Linux", "docker", "build" ]'
123+
project: embree
124+
env-from-files: ./.github/workflows/dpcpp-sycl-nightly.env
125+
artifact-out: linux-DG2-JIT-PUBLIC-debug-build
126+
artifact-path: ./build/*.tar.gz
127+
cmd: |
128+
module load cmake/3.25.3
129+
cmake --preset linux-DG2-JIT-PUBLIC-debug -DCMAKE_BUILD_TYPE=Debug -DEMBREE_TESTING_INTENSITY=3
130+
cmake --build build --config Debug --target build
131+
132+
linux-DG2-JIT-PUBLIC-debug-test:
133+
secrets: inherit
134+
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
135+
needs: ["linux-DG2-JIT-PUBLIC-debug-build"]
136+
with:
137+
image: embree/ubuntu:24.04
138+
options: --device=/dev/dri:/dev/dri
139+
runs-on: '[ "Linux", "docker", "dg2" ]'
140+
project: embree
141+
env-from-files: ./.github/workflows/dpcpp-sycl-nightly.env ./.github/workflows/gfx-ubuntu24-public.env
142+
artifact-in: linux-DG2-JIT-PUBLIC-debug-build
143+
cmd: |
144+
module load cmake/3.25.3
145+
cmake --preset linux-DG2-JIT-PUBLIC-debug -DCMAKE_BUILD_TYPE=Debug -DEMBREE_TESTING_INTENSITY=3
146+
cmake --build build --config Debug --target test_package
147+
148+
149+
150+
116151
##########################################
117152
### Linux PVC TODO: Reenable after patch
118153
##########################################
@@ -303,6 +338,34 @@ jobs:
303338
cmake --preset nightly-windows-DG2-JIT-ICX -DCMAKE_BUILD_TYPE=Release -DEMBREE_TESTING_INTENSITY=3
304339
cmake --build build --config Release --target test_package
305340
341+
342+
windows-DG2-JIT-debug-build:
343+
secrets: inherit
344+
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/windows.yml@main
345+
with:
346+
force-delete: true
347+
runs-on: '[ "Windows", "NAS", "build" ]'
348+
project: embree
349+
env-from-files: ./.github/workflows/dpcpp-sycl-nightly.env
350+
artifact-out: windows-DG2-JIT-debug-build
351+
artifact-path: ./build/*.zip
352+
cmd: |
353+
cmake --preset windows-DG2-JIT-INTERNAL-L0RTAS-debug -DCMAKE_BUILD_TYPE=Debug -DEMBREE_TESTING_INTENSITY=3
354+
cmake --build build --config Debug --target build
355+
356+
windows-DG2-JIT-PUBLIC-debug-test:
357+
secrets: inherit
358+
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/windows.yml@main
359+
needs: ["windows-DG2-JIT-debug-build"]
360+
with:
361+
runs-on: '[ "Windows", "NAS", "dg2" ]'
362+
project: embree
363+
env-from-files: ./.github/workflows/dpcpp-sycl-nightly.env ./.github/workflows/gfx-windows-public.env
364+
artifact-in: windows-DG2-JIT-debug-build
365+
cmd: |
366+
cmake --preset windows-DG2-JIT-INTERNAL-L0RTAS-debug -DCMAKE_BUILD_TYPE=Debug -DEMBREE_TESTING_INTENSITY=3
367+
cmake --build build --config Debug --target test_package
368+
306369
# ################################################################################
307370
# ################################################################################
308371
# # CPU tests
@@ -465,26 +528,28 @@ jobs:
465528
# Coverity
466529
########################################
467530

468-
static-analysis:
469-
secrets: inherit
470-
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/static_analysis.yml@main
471-
with:
472-
project: Embree
473-
submodules: true
474-
coverity: true
475-
prebuild: >
476-
module load cmake/3.25.3 &&
477-
export NAS_LINUX=$STORAGE_PATH/packages/apps &&
478-
cmake --preset linux-coverity
479-
build: sh scripts/coverity.sh
531+
#static-analysis:
532+
# secrets: inherit
533+
# uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/static_analysis.yml@main
534+
# with:
535+
# project: Embree
536+
# submodules: true
537+
# coverity: true
538+
# prebuild: >
539+
# module load cmake/3.25.3 &&
540+
# export NAS_LINUX=$STORAGE_PATH/packages/apps &&
541+
# cmake --preset linux-coverity
542+
# build: sh scripts/coverity.sh
480543

481544
success:
482545
runs-on: ubuntu-latest
483546
needs:
484547
- linux-DG2-JIT-PUBLIC-test
485548
- linux-DG2-JIT-PUBLIC-ICX-test
549+
- linux-DG2-JIT-PUBLIC-debug-test
486550
- windows-DG2-JIT-PUBLIC-test
487551
- windows-DG2-JIT-ICX-PUBLIC-test
552+
- windows-DG2-JIT-PUBLIC-debug-test
488553
- linux-fedora29-CLANG4
489554
- linux-fedora29-CLANG5-INT-ADDRSANITIZER
490555
- linux-fedora29-ICX
@@ -496,7 +561,6 @@ jobs:
496561
- macosx-ARM-CLANG-NEON
497562
- macosx-x64-CLANG
498563
- macosx-ARM-CLANG-NEON-AVX2-universal-binaries
499-
- static-analysis
500564

501565

502566
if: failure() || cancelled()

scripts/cmake-presets/continuous.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,16 @@
2626
"name": "linux-DG2-JIT-PUBLIC",
2727
"inherits": "linux-DG2-JIT-INTERNAL"
2828
},
29+
{
30+
"name": "linux-DG2-JIT-PUBLiC-debug",
31+
"inherits": ["package-linux", "env", "dpcpp", "tbb_NEWEST"],
32+
"cacheVariables": {
33+
"CMAKE_BUILD_TYPE": "Debug",
34+
"EMBREE_SYCL_SUPPORT": "ON",
35+
"EMBREE_SYCL_AOT_DEVICES": "none",
36+
"EMBREE_MAX_ISA": "SSE2"
37+
}
38+
},
2939
{
3040
"name": "linux-DG2-JIT-EMBARGO",
3141
"inherits": ["package-linux", "env", "dpcpp", "ispc_NEWEST", "tbb_NEWEST"],
@@ -53,6 +63,16 @@
5363
"EMBREE_MAX_ISA": "AVX512"
5464
}
5565
},
66+
{
67+
"name": "linux-DG2-JIT-PUBLIC-ICX-debug",
68+
"inherits": ["package-linux", "env", "icx", "tbb_NEWEST"],
69+
"cacheVariables": {
70+
"CMAKE_BUILD_TYPE": "Debug",
71+
"EMBREE_SYCL_SUPPORT": "ON",
72+
"EMBREE_SYCL_AOT_DEVICES": "none",
73+
"EMBREE_MAX_ISA": "SSE2"
74+
}
75+
},
5676
{
5777
"name": "linux-DG2-JIT-PUBLIC-ICX-RC",
5878
"inherits": "linux-DG2-JIT-PUBLIC-ICX"
@@ -97,6 +117,16 @@
97117
"EMBREE_MAX_ISA": "SSE2"
98118
}
99119
},
120+
{
121+
"name": "windows-DG2-JIT-INTERNAL-L0RTAS-debug",
122+
"inherits": ["package-windows", "env", "dpcpp-windows", "tbb_NEWEST"],
123+
"cacheVariables": {
124+
"CMAKE_BUILD_TYPE": "Debug",
125+
"EMBREE_SYCL_SUPPORT": "ON",
126+
"EMBREE_SYCL_AOT_DEVICES": "none",
127+
"EMBREE_MAX_ISA": "SSE2"
128+
}
129+
},
100130
{
101131
"name": "linux-fedora29-CLANG4",
102132
"inherits": ["package-linux", "env", "clang4", "ispc_NEWEST", "tbb_NEWEST"],

0 commit comments

Comments
 (0)