diff options
| author | venkataram-nv <vedavamadath@nvidia.com> | 2024-06-27 11:04:26 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-27 11:04:26 -0700 |
| commit | b1f564b0974303e330ca3370651696191d40aa51 (patch) | |
| tree | a964ea2825c62a63edd2c9815ee2ad5e4ac078be /.github/workflows | |
| parent | 5dd8f29443508bd8663a92c62d33e69cc47b61af (diff) | |
Include examples in default build (#4482)
* Include examples in default build
* Omit building examples on unnecessary CI workflows
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/ci.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/compile-regression-test.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/falcor-compiler-perf-test.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/falcor-test.yml | 2 |
4 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2a64d3972..d6fa7673f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,6 +97,7 @@ jobs: cmake --preset default --fresh \ -DSLANG_SLANG_LLVM_FLAVOR=FETCH_BINARY \ -DSLANG_SLANG_LLVM_BINARY_URL=$(pwd)/build/dist-release/slang-slang-llvm.zip \ + -DSLANG_ENABLE_EXAMPLES=OFF \ -DCMAKE_COMPILE_WARNING_AS_ERROR=${{matrix.warnings-as-errors}} cmake --workflow --preset "${{matrix.config}}" else @@ -104,6 +105,7 @@ jobs: # cache in the setup phase cmake --preset default --fresh \ -DSLANG_SLANG_LLVM_FLAVOR=USE_SYSTEM_LLVM \ + -DSLANG_ENABLE_EXAMPLES=OFF \ -DCMAKE_COMPILE_WARNING_AS_ERROR=${{matrix.warnings-as-errors}} cmake --workflow --preset "${{matrix.config}}" fi diff --git a/.github/workflows/compile-regression-test.yml b/.github/workflows/compile-regression-test.yml index ff5598560..962b2cf54 100644 --- a/.github/workflows/compile-regression-test.yml +++ b/.github/workflows/compile-regression-test.yml @@ -34,7 +34,7 @@ jobs: uses: microsoft/setup-msbuild@v1 - name: build run: | - .\premake.bat vs2019 --arch=${{matrix.platform}} --deps=true --no-progress=true --enable-cuda=true + .\premake.bat vs2019 --arch=${{matrix.platform}} --deps=true --no-progress=true --enable-cuda=true --enable-examples=false .\make-slang-tag-version.bat diff --git a/.github/workflows/falcor-compiler-perf-test.yml b/.github/workflows/falcor-compiler-perf-test.yml index cfd1837bd..6a5a91929 100644 --- a/.github/workflows/falcor-compiler-perf-test.yml +++ b/.github/workflows/falcor-compiler-perf-test.yml @@ -34,7 +34,7 @@ jobs: uses: microsoft/setup-msbuild@v1 - name: build run: | - .\premake.bat vs2019 --arch=${{matrix.platform}} --deps=true --no-progress=true --enable-cuda=true + .\premake.bat vs2019 --arch=${{matrix.platform}} --deps=true --no-progress=true --enable-cuda=true --enable-examples=false .\make-slang-tag-version.bat diff --git a/.github/workflows/falcor-test.yml b/.github/workflows/falcor-test.yml index dd1c6fe57..60506f062 100644 --- a/.github/workflows/falcor-test.yml +++ b/.github/workflows/falcor-test.yml @@ -45,7 +45,7 @@ jobs: cd ..\ - name: build run: | - .\premake.bat vs2019 --arch=${{matrix.platform}} --deps=true --no-progress=true --enable-cuda=true + .\premake.bat vs2019 --arch=${{matrix.platform}} --deps=true --no-progress=true --enable-cuda=true --enable-examples=false .\make-slang-tag-version.bat |
