summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/check-cmdline-ref.yml8
-rw-r--r--.github/workflows/regenerate-cmdline-ref.yml10
2 files changed, 15 insertions, 3 deletions
diff --git a/.github/workflows/check-cmdline-ref.yml b/.github/workflows/check-cmdline-ref.yml
index 2ae4dc011..3eb90599a 100644
--- a/.github/workflows/check-cmdline-ref.yml
+++ b/.github/workflows/check-cmdline-ref.yml
@@ -31,7 +31,13 @@ jobs:
- name: Build Slang
run: |
cmake --preset default --fresh \
- -DSLANG_SLANG_LLVM_FLAVOR=DISABLE
+ -DSLANG_SLANG_LLVM_FLAVOR=DISABLE \
+ -DSLANG_ENABLE_TESTS=OFF \
+ -DSLANG_ENABLE_EXAMPLES=OFF \
+ -DSLANG_ENABLE_GFX=OFF \
+ -DSLANG_ENABLE_SLANGD=OFF \
+ -DSLANG_EXCLUDE_DAWN=ON \
+ -DSLANG_EXCLUDE_TINT=ON
cmake --workflow --preset release
- name: Generate command line reference
diff --git a/.github/workflows/regenerate-cmdline-ref.yml b/.github/workflows/regenerate-cmdline-ref.yml
index 1a293f883..9e093f5ac 100644
--- a/.github/workflows/regenerate-cmdline-ref.yml
+++ b/.github/workflows/regenerate-cmdline-ref.yml
@@ -43,7 +43,13 @@ jobs:
run: |
cd pr-branch
cmake --preset default --fresh \
- -DSLANG_SLANG_LLVM_FLAVOR=DISABLE
+ -DSLANG_SLANG_LLVM_FLAVOR=DISABLE \
+ -DSLANG_ENABLE_TESTS=OFF \
+ -DSLANG_ENABLE_EXAMPLES=OFF \
+ -DSLANG_ENABLE_GFX=OFF \
+ -DSLANG_ENABLE_SLANGD=OFF \
+ -DSLANG_EXCLUDE_DAWN=ON \
+ -DSLANG_EXCLUDE_TINT=ON
cmake --workflow --preset release
- name: Regenerate Command Line Reference
@@ -51,7 +57,7 @@ jobs:
run: |
cd pr-branch
mkdir -p docs
- "$bin_dir/slangc" -help-style markdown -h > docs/command-line-slangc-reference.md 2>&1
+ ./build/${{ env.cmake_config }}/bin/slangc -help-style markdown -h > docs/command-line-slangc-reference.md 2>&1
- name: Configure Git commit signing
id: git-info