Skip to content

Commit e9b8633

Browse files
dopitzstefanatwork
authored andcommitted
fix coverity static analysis
1 parent 5d1725d commit e9b8633

File tree

1 file changed

+30
-34
lines changed

1 file changed

+30
-34
lines changed

.github/workflows/continuous.yml

Lines changed: 30 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -129,23 +129,6 @@ jobs:
129129
cmake --preset linux-DG2-JIT-PUBLIC-debug -DCMAKE_BUILD_TYPE=Debug -DEMBREE_TESTING_INTENSITY=3
130130
cmake --build build --config Debug --target build
131131
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-
149132
150133
151134
##########################################
@@ -347,25 +330,10 @@ jobs:
347330
runs-on: '[ "Windows", "NAS", "build" ]'
348331
project: embree
349332
env-from-files: ./.github/workflows/dpcpp-sycl-nightly.env
350-
artifact-out: windows-DG2-JIT-debug-build
351-
artifact-path: ./build/*.zip
352333
cmd: |
353334
cmake --preset windows-DG2-JIT-INTERNAL-L0RTAS-debug -DCMAKE_BUILD_TYPE=Debug -DEMBREE_TESTING_INTENSITY=3
354335
cmake --build build --config Debug --target build
355336
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-
369337
# ################################################################################
370338
# ################################################################################
371339
# # CPU tests
@@ -541,15 +509,41 @@ jobs:
541509
# cmake --preset linux-coverity
542510
# build: sh scripts/coverity.sh
543511

512+
static-analysis-lin:
513+
secrets: inherit
514+
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/static_analysis.yml@main
515+
with:
516+
os: Linux
517+
project: Embree
518+
submodules: true
519+
prebuild: >
520+
module load cmake/3.25.3 &&
521+
export NAS_LINUX=$STORAGE_PATH/packages/apps &&
522+
cmake --preset linux-coverity
523+
build: sh scripts/coverity.sh
524+
525+
static-analysis-win:
526+
secrets: inherit
527+
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/static_analysis.yml@main
528+
with:
529+
os: Windows
530+
project: Embree
531+
submodules: true
532+
prebuild: >
533+
module load cmake/3.25.3 &&
534+
export NAS_LINUX=$STORAGE_PATH/packages/apps &&
535+
cmake --preset linux-coverity
536+
build: sh scripts/coverity.sh
537+
544538
success:
545539
runs-on: ubuntu-latest
546540
needs:
547541
- linux-DG2-JIT-PUBLIC-test
548542
- linux-DG2-JIT-PUBLIC-ICX-test
549-
- linux-DG2-JIT-PUBLIC-debug-test
543+
- linux-DG2-JIT-PUBLIC-debug-build
550544
- windows-DG2-JIT-PUBLIC-test
551545
- windows-DG2-JIT-ICX-PUBLIC-test
552-
- windows-DG2-JIT-PUBLIC-debug-test
546+
- windows-DG2-JIT-debug-build
553547
- linux-fedora29-CLANG4
554548
- linux-fedora29-CLANG5-INT-ADDRSANITIZER
555549
- linux-fedora29-ICX
@@ -561,6 +555,8 @@ jobs:
561555
- macosx-ARM-CLANG-NEON
562556
- macosx-x64-CLANG
563557
- macosx-ARM-CLANG-NEON-AVX2-universal-binaries
558+
- static-analysis-lin
559+
- static-analysis-win
564560

565561

566562
if: failure() || cancelled()

0 commit comments

Comments
 (0)