[llvm] Add pre-merge workflow for HLSL testing (PR #122184)

Chris B via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 8 16:46:33 PST 2025


https://github.com/llvm-beanz updated https://github.com/llvm/llvm-project/pull/122184

>From a6c0375f85d7eb89aeb49b042e52d0f4c6afdd07 Mon Sep 17 00:00:00 2001
From: Chris Bieneman <chris.bieneman at me.com>
Date: Wed, 8 Jan 2025 16:45:10 -0600
Subject: [PATCH 01/12] Add pre-merge workflow for HLSL testing

This adds a workflow for running HLSL tests on PRs that modify HLSL and
DirectX code.
---
 .github/workflows/hlsl-macos.yaml    |  26 ++++
 .github/workflows/hlsl/hlsl-all.yaml | 177 +++++++++++++++++++++++++++
 2 files changed, 203 insertions(+)
 create mode 100644 .github/workflows/hlsl-macos.yaml
 create mode 100644 .github/workflows/hlsl/hlsl-all.yaml

diff --git a/.github/workflows/hlsl-macos.yaml b/.github/workflows/hlsl-macos.yaml
new file mode 100644
index 00000000000000..f63888a8b9beff
--- /dev/null
+++ b/.github/workflows/hlsl-macos.yaml
@@ -0,0 +1,26 @@
+name: HLSL Tests - macOS
+
+permissions:
+  contents: read
+  checks: write
+
+on:
+  workflow_dispatch:
+  pull_request:
+    branches:
+      - main
+    paths:
+      - 'llvm/**/DirectX/**'
+      - '.github/workflows/hlsl*'
+      - clang/*HLSL*/**/*
+      - clang/**/*HLSL*
+      - llvm/**/Frontend/HLSL/**/*
+
+jobs:
+  macOS-Metal-Clang:
+    uses: ./.github/workflows/hlsl/hlsl-all.yaml
+    with:
+      OS: macOS
+      SKU: hlsl-metal
+      TestTarget: check-hlsl-clang-mtl
+      LLVM-branch: ${{ github.ref }}
diff --git a/.github/workflows/hlsl/hlsl-all.yaml b/.github/workflows/hlsl/hlsl-all.yaml
new file mode 100644
index 00000000000000..6195891a4ec0e7
--- /dev/null
+++ b/.github/workflows/hlsl/hlsl-all.yaml
@@ -0,0 +1,177 @@
+name: HLSL Test
+
+permissions:
+  contents: read
+  checks: write
+
+on:
+  workflow_dispatch:
+    inputs:
+      LLVM-Ref:
+        description: 'Test Suite Branch'
+        required: false
+        default: 'main'
+        type: string
+      LLVM-branch:
+        description: 'LLVM Branch'
+        required: false
+        default: 'main'
+        type: string
+      LLVM-fork:
+        description: 'LLVM fork'
+        required: false
+        default: 'llvm'
+        type: string
+      DXC-branch:
+        description: 'DXC Branch'
+        required: false
+        default: 'main'
+        type: string
+      BuildType:
+        description: 'Build Type'
+        required: false
+        default: 'Release'
+        type: choice
+        options:
+        - Release
+        - RelWithDebInfo
+        - Debug
+      TestTarget:
+        required: false
+        default: 'check-hlsl'
+        type: string
+      Test-Clang:
+        required: true
+        type: choice
+        options:
+        - On
+        - Off
+      OS:
+        required: true
+        type: choice
+        options:
+        - macOS
+        - windows
+      SKU:
+        required: true
+        type: choice
+        options:
+        - hlsl-metal
+      LLVM-ExtraCMakeArgs:
+        description: 'Extra CMake Args for LLVM'
+        required: false
+        default: ''
+        type: string
+  workflow_call:
+    inputs:
+      OffloadTest-branch:
+        description: 'Test Suite Branch'
+        required: false
+        default: 'main'
+        type: string
+      LLVM-branch:
+        description: 'LLVM Branch'
+        required: false
+        default: 'main'
+        type: string
+      LLVM-fork:
+        description: 'LLVM For'
+        required: false
+        default: 'llvm'
+        type: string
+      DXC-branch:
+        description: 'DXC Branch'
+        required: false
+        default: 'main'
+        type: string
+      OS:
+        required: true
+        type: string
+      SKU:
+        required: true
+        type: string
+      BuildType:
+        description: 'DXC Branch'
+        required: false
+        default: 'Release'
+        type: string
+      Test-Clang:
+        required: false
+        default: 'On'
+        type: string
+      TestTarget:
+        required: false
+        default: 'check-hlsl'
+        type: string
+      LLVM-ExtraCMakeArgs:
+        description: 'Extra CMake Args for LLVM'
+        required: false
+        default: ''
+        type: string
+
+jobs:
+  build:
+    runs-on: [self-hosted, "${{ inputs.SKU }}"]
+    steps:
+      - name: Checkout DXC
+        uses: actions/checkout at v4
+        with:
+          repository: Microsoft/DirectXShaderCompiler
+          ref: ${{ inputs.DXC-branch }}
+          path: DXC
+          fetch-depth: 1
+          submodules: true
+      - name: Checkout LLVM
+        uses: actions/checkout at v4
+        with:
+          repository: ${{ inputs.LLVM-fork }}/llvm-project
+          ref: ${{ inputs.LLVM-branch }}
+          path: llvm-project
+          fetch-depth: 1
+      - name: Checkout OffloadTest
+        uses: actions/checkout at v4
+        with:
+          repository: llvm-beanz/offload-test-suite
+          ref: ${{ inputs.OffloadTest-branch }}
+          path: OffloadTest
+          fetch-depth: 1
+      - name: Checkout Golden Images
+        uses: actions/checkout at v4
+        with:
+          repository: llvm-beanz/offload-golden-images
+          ref: main
+          path: golden-images
+          fetch-depth: 1
+      - name: Setup Windows
+        if: inputs.OS == 'windows'
+        uses: llvm/actions/setup-windows at main
+        with:
+          arch: amd64
+      - name: Build DXC
+        run: |
+            cd DXC
+            mkdir build
+            cd build
+            cmake -G Ninja -DCMAKE_BUILD_TYPE=${{ inputs.BuildType }} -C ${{ github.workspace }}/DXC/cmake/caches/PredefinedParams.cmake -C ${{ github.workspace }}/OffloadTest/cmake/caches/sccache.cmake -DHLSL_DISABLE_SOURCE_GENERATION=On ${{ github.workspace }}/DXC/
+            ninja
+      - name: Build LLVM
+        run: |
+            cd llvm-project
+            mkdir build
+            cd build
+            cmake -G Ninja ${{ inputs.LLVM-ExtraCMakeArgs }} -DDXIL_DIS=${{ github.workspace }}/DXC/build/bin/llvm-dis -DCMAKE_BUILD_TYPE=${{ inputs.BuildType }} -C ${{ github.workspace }}/llvm-project/clang/cmake/caches/HLSL.cmake -C ${{ github.workspace }}/OffloadTest/cmake/caches/sccache.cmake -DDXC_DIR=${{ github.workspace }}/DXC/build/bin -DLLVM_EXTERNAL_OFFLOADTEST_SOURCE_DIR=${{ github.workspace }}/OffloadTest -DLLVM_EXTERNAL_PROJECTS="OffloadTest" -DLLVM_LIT_ARGS="--xunit-xml-output=testresults.xunit.xml -v" -DOFFLOADTEST_TEST_CLANG=${{ inputs.Test-Clang }} -DGOLDENIMAGE_DIR=${{ github.workspace }}/golden-images ${{ github.workspace }}/llvm-project/llvm/
+            ninja hlsl-test-depends llvm-test-depends clang-test-depends
+      - name: Run HLSL Tests
+        run: |
+            cd llvm-project
+            cd build
+            ninja check-llvm
+            ninja check-clang
+            ninja check-hlsl-unit
+            ninja ${{ inputs.TestTarget }}
+      - name: Publish Test Results
+        uses: EnricoMi/publish-unit-test-result-action/macos at v2
+        if: always() && inputs.OS == 'macOS'
+        with:
+          comment_mode: off
+          files: llvm-project/build/**/testresults.xunit.xml

>From b2cee9e26db1f46f0cd55d9e5034c5891003e1e2 Mon Sep 17 00:00:00 2001
From: Chris Bieneman <chris.bieneman at me.com>
Date: Wed, 8 Jan 2025 17:11:33 -0600
Subject: [PATCH 02/12] Update paths

---
 .github/workflows/hlsl-macos.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/hlsl-macos.yaml b/.github/workflows/hlsl-macos.yaml
index f63888a8b9beff..83bd853829b220 100644
--- a/.github/workflows/hlsl-macos.yaml
+++ b/.github/workflows/hlsl-macos.yaml
@@ -12,6 +12,7 @@ on:
     paths:
       - 'llvm/**/DirectX/**'
       - '.github/workflows/hlsl*'
+      - '.github/workflows/hlsl/*'
       - clang/*HLSL*/**/*
       - clang/**/*HLSL*
       - llvm/**/Frontend/HLSL/**/*

>From e7372f7284ae847c5b8a052367f818c6fc9ba391 Mon Sep 17 00:00:00 2001
From: Chris Bieneman <chris.bieneman at me.com>
Date: Wed, 8 Jan 2025 17:13:20 -0600
Subject: [PATCH 03/12] Trying to get the paths right to trigger

---
 .github/workflows/hlsl-macos.yaml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/hlsl-macos.yaml b/.github/workflows/hlsl-macos.yaml
index 83bd853829b220..99611618228bd0 100644
--- a/.github/workflows/hlsl-macos.yaml
+++ b/.github/workflows/hlsl-macos.yaml
@@ -10,15 +10,15 @@ on:
     branches:
       - main
     paths:
-      - 'llvm/**/DirectX/**'
-      - '.github/workflows/hlsl*'
-      - '.github/workflows/hlsl/*'
+      - llvm/**/DirectX/**
+      - .github/workflows/hlsl*
+      - .github/workflows/hlsl/*
       - clang/*HLSL*/**/*
       - clang/**/*HLSL*
       - llvm/**/Frontend/HLSL/**/*
 
 jobs:
-  macOS-Metal-Clang:
+  HLSL-macOS:
     uses: ./.github/workflows/hlsl/hlsl-all.yaml
     with:
       OS: macOS

>From 12f924faa20d3ee885653102da11fa66dade011c Mon Sep 17 00:00:00 2001
From: Chris Bieneman <chris.bieneman at me.com>
Date: Wed, 8 Jan 2025 17:28:17 -0600
Subject: [PATCH 04/12] Trying again...

---
 .github/workflows/hlsl-macos.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/hlsl-macos.yaml b/.github/workflows/hlsl-macos.yaml
index 99611618228bd0..5defbd569b7d74 100644
--- a/.github/workflows/hlsl-macos.yaml
+++ b/.github/workflows/hlsl-macos.yaml
@@ -11,7 +11,7 @@ on:
       - main
     paths:
       - llvm/**/DirectX/**
-      - .github/workflows/hlsl*
+      - .github/workflows/hlsl-macos.yaml
       - .github/workflows/hlsl/*
       - clang/*HLSL*/**/*
       - clang/**/*HLSL*

>From 7c9763aa8ae660a516649f84d700ad0c7b677db6 Mon Sep 17 00:00:00 2001
From: Chris Bieneman <chris.bieneman at me.com>
Date: Wed, 8 Jan 2025 17:30:53 -0600
Subject: [PATCH 05/12] Let's try no path filtering

I will not push this way!
---
 .github/workflows/hlsl-macos.yaml | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/.github/workflows/hlsl-macos.yaml b/.github/workflows/hlsl-macos.yaml
index 5defbd569b7d74..cc1d6345cf513b 100644
--- a/.github/workflows/hlsl-macos.yaml
+++ b/.github/workflows/hlsl-macos.yaml
@@ -9,13 +9,6 @@ on:
   pull_request:
     branches:
       - main
-    paths:
-      - llvm/**/DirectX/**
-      - .github/workflows/hlsl-macos.yaml
-      - .github/workflows/hlsl/*
-      - clang/*HLSL*/**/*
-      - clang/**/*HLSL*
-      - llvm/**/Frontend/HLSL/**/*
 
 jobs:
   HLSL-macOS:

>From 4dd8503d67b7f2db2974e1076a9a542b5b6e39b7 Mon Sep 17 00:00:00 2001
From: Chris Bieneman <chris.bieneman at me.com>
Date: Wed, 8 Jan 2025 17:32:51 -0600
Subject: [PATCH 06/12] This should actually fix it now
 .github/workflows/hlsl-test-all.yaml

.github/workflows/hlsl-test-all.yaml
---
 .github/workflows/hlsl-macos.yaml                         | 8 +++++++-
 .../workflows/{hlsl/hlsl-all.yaml => hlsl-test-all.yaml}  | 0
 2 files changed, 7 insertions(+), 1 deletion(-)
 rename .github/workflows/{hlsl/hlsl-all.yaml => hlsl-test-all.yaml} (100%)

diff --git a/.github/workflows/hlsl-macos.yaml b/.github/workflows/hlsl-macos.yaml
index cc1d6345cf513b..364eb14604c2fb 100644
--- a/.github/workflows/hlsl-macos.yaml
+++ b/.github/workflows/hlsl-macos.yaml
@@ -9,10 +9,16 @@ on:
   pull_request:
     branches:
       - main
+    paths:
+      - llvm/**/DirectX/**
+      - .github/workflows/hlsl*
+      - clang/*HLSL*/**/*
+      - clang/**/*HLSL*
+      - llvm/**/Frontend/HLSL/**/*
 
 jobs:
   HLSL-macOS:
-    uses: ./.github/workflows/hlsl/hlsl-all.yaml
+    uses: ./.github/workflows/hlsl-all.yaml
     with:
       OS: macOS
       SKU: hlsl-metal
diff --git a/.github/workflows/hlsl/hlsl-all.yaml b/.github/workflows/hlsl-test-all.yaml
similarity index 100%
rename from .github/workflows/hlsl/hlsl-all.yaml
rename to .github/workflows/hlsl-test-all.yaml

>From 22fa02c228abb5b69726288b51d36aa73c50f020 Mon Sep 17 00:00:00 2001
From: Chris Bieneman <chris.bieneman at me.com>
Date: Wed, 8 Jan 2025 17:34:09 -0600
Subject: [PATCH 07/12] Gah!!

---
 .github/workflows/hlsl-macos.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/hlsl-macos.yaml b/.github/workflows/hlsl-macos.yaml
index 364eb14604c2fb..e4b07d82aaed87 100644
--- a/.github/workflows/hlsl-macos.yaml
+++ b/.github/workflows/hlsl-macos.yaml
@@ -18,7 +18,7 @@ on:
 
 jobs:
   HLSL-macOS:
-    uses: ./.github/workflows/hlsl-all.yaml
+    uses: ./.github/workflows/hlsl-test-all.yaml
     with:
       OS: macOS
       SKU: hlsl-metal

>From 7c9f41f7700a7e6d3fff9ade6a129b5d9aed6791 Mon Sep 17 00:00:00 2001
From: Chris Bieneman <chris.bieneman at me.com>
Date: Wed, 8 Jan 2025 17:39:02 -0600
Subject: [PATCH 08/12] Fix job label

---
 .github/workflows/hlsl-macos.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/hlsl-macos.yaml b/.github/workflows/hlsl-macos.yaml
index e4b07d82aaed87..144bb8e4998fb9 100644
--- a/.github/workflows/hlsl-macos.yaml
+++ b/.github/workflows/hlsl-macos.yaml
@@ -21,6 +21,6 @@ jobs:
     uses: ./.github/workflows/hlsl-test-all.yaml
     with:
       OS: macOS
-      SKU: hlsl-metal
+      SKU: hlsl-macos
       TestTarget: check-hlsl-clang-mtl
       LLVM-branch: ${{ github.ref }}

>From a8b3089060872a39908e3a29a191af268bc643aa Mon Sep 17 00:00:00 2001
From: Chris Bieneman <chris.bieneman at me.com>
Date: Wed, 8 Jan 2025 18:00:06 -0600
Subject: [PATCH 09/12] Actually enable dxil-dis tests

---
 .github/workflows/hlsl-test-all.yaml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/hlsl-test-all.yaml b/.github/workflows/hlsl-test-all.yaml
index 6195891a4ec0e7..ac6512c4260688 100644
--- a/.github/workflows/hlsl-test-all.yaml
+++ b/.github/workflows/hlsl-test-all.yaml
@@ -75,7 +75,7 @@ on:
         default: 'main'
         type: string
       LLVM-fork:
-        description: 'LLVM For'
+        description: 'LLVM Fork'
         required: false
         default: 'llvm'
         type: string
@@ -91,7 +91,7 @@ on:
         required: true
         type: string
       BuildType:
-        description: 'DXC Branch'
+        description: 'Build Type'
         required: false
         default: 'Release'
         type: string
@@ -159,7 +159,7 @@ jobs:
             cd llvm-project
             mkdir build
             cd build
-            cmake -G Ninja ${{ inputs.LLVM-ExtraCMakeArgs }} -DDXIL_DIS=${{ github.workspace }}/DXC/build/bin/llvm-dis -DCMAKE_BUILD_TYPE=${{ inputs.BuildType }} -C ${{ github.workspace }}/llvm-project/clang/cmake/caches/HLSL.cmake -C ${{ github.workspace }}/OffloadTest/cmake/caches/sccache.cmake -DDXC_DIR=${{ github.workspace }}/DXC/build/bin -DLLVM_EXTERNAL_OFFLOADTEST_SOURCE_DIR=${{ github.workspace }}/OffloadTest -DLLVM_EXTERNAL_PROJECTS="OffloadTest" -DLLVM_LIT_ARGS="--xunit-xml-output=testresults.xunit.xml -v" -DOFFLOADTEST_TEST_CLANG=${{ inputs.Test-Clang }} -DGOLDENIMAGE_DIR=${{ github.workspace }}/golden-images ${{ github.workspace }}/llvm-project/llvm/
+            cmake -G Ninja ${{ inputs.LLVM-ExtraCMakeArgs }} -DDXIL_DIS=${{ github.workspace }}/DXC/build/bin/llvm-dis -DLLVM_INCLUDE_DXIL_TESTS=On -DCMAKE_BUILD_TYPE=${{ inputs.BuildType }} -C ${{ github.workspace }}/llvm-project/clang/cmake/caches/HLSL.cmake -C ${{ github.workspace }}/OffloadTest/cmake/caches/sccache.cmake -DDXC_DIR=${{ github.workspace }}/DXC/build/bin -DLLVM_EXTERNAL_OFFLOADTEST_SOURCE_DIR=${{ github.workspace }}/OffloadTest -DLLVM_EXTERNAL_PROJECTS="OffloadTest" -DLLVM_LIT_ARGS="--xunit-xml-output=testresults.xunit.xml -v" -DOFFLOADTEST_TEST_CLANG=${{ inputs.Test-Clang }} -DGOLDENIMAGE_DIR=${{ github.workspace }}/golden-images ${{ github.workspace }}/llvm-project/llvm/
             ninja hlsl-test-depends llvm-test-depends clang-test-depends
       - name: Run HLSL Tests
         run: |

>From c8fce72a4e7f328fa9d6fe86594509b0b9a4e37e Mon Sep 17 00:00:00 2001
From: Chris Bieneman <chris.bieneman at me.com>
Date: Wed, 8 Jan 2025 18:19:12 -0600
Subject: [PATCH 10/12] Workflow cleanup based on feedback from @tstellar

---
 .github/workflows/hlsl-macos.yaml    |  2 --
 .github/workflows/hlsl-test-all.yaml | 25 +++----------------------
 2 files changed, 3 insertions(+), 24 deletions(-)

diff --git a/.github/workflows/hlsl-macos.yaml b/.github/workflows/hlsl-macos.yaml
index 144bb8e4998fb9..457f714cf32209 100644
--- a/.github/workflows/hlsl-macos.yaml
+++ b/.github/workflows/hlsl-macos.yaml
@@ -2,7 +2,6 @@ name: HLSL Tests - macOS
 
 permissions:
   contents: read
-  checks: write
 
 on:
   workflow_dispatch:
@@ -20,7 +19,6 @@ jobs:
   HLSL-macOS:
     uses: ./.github/workflows/hlsl-test-all.yaml
     with:
-      OS: macOS
       SKU: hlsl-macos
       TestTarget: check-hlsl-clang-mtl
       LLVM-branch: ${{ github.ref }}
diff --git a/.github/workflows/hlsl-test-all.yaml b/.github/workflows/hlsl-test-all.yaml
index ac6512c4260688..c5ca4a59fa3324 100644
--- a/.github/workflows/hlsl-test-all.yaml
+++ b/.github/workflows/hlsl-test-all.yaml
@@ -17,11 +17,6 @@ on:
         required: false
         default: 'main'
         type: string
-      LLVM-fork:
-        description: 'LLVM fork'
-        required: false
-        default: 'llvm'
-        type: string
       DXC-branch:
         description: 'DXC Branch'
         required: false
@@ -46,12 +41,6 @@ on:
         options:
         - On
         - Off
-      OS:
-        required: true
-        type: choice
-        options:
-        - macOS
-        - windows
       SKU:
         required: true
         type: choice
@@ -74,19 +63,11 @@ on:
         required: false
         default: 'main'
         type: string
-      LLVM-fork:
-        description: 'LLVM Fork'
-        required: false
-        default: 'llvm'
-        type: string
       DXC-branch:
         description: 'DXC Branch'
         required: false
         default: 'main'
         type: string
-      OS:
-        required: true
-        type: string
       SKU:
         required: true
         type: string
@@ -124,7 +105,7 @@ jobs:
       - name: Checkout LLVM
         uses: actions/checkout at v4
         with:
-          repository: ${{ inputs.LLVM-fork }}/llvm-project
+          repository: llvm/llvm-project
           ref: ${{ inputs.LLVM-branch }}
           path: llvm-project
           fetch-depth: 1
@@ -143,7 +124,7 @@ jobs:
           path: golden-images
           fetch-depth: 1
       - name: Setup Windows
-        if: inputs.OS == 'windows'
+        if: runner.os == 'windows'
         uses: llvm/actions/setup-windows at main
         with:
           arch: amd64
@@ -171,7 +152,7 @@ jobs:
             ninja ${{ inputs.TestTarget }}
       - name: Publish Test Results
         uses: EnricoMi/publish-unit-test-result-action/macos at v2
-        if: always() && inputs.OS == 'macOS'
+        if: always() && runner.os == 'macOS'
         with:
           comment_mode: off
           files: llvm-project/build/**/testresults.xunit.xml

>From 18a274fc64922e00d1cdb5f631649024f35bddcb Mon Sep 17 00:00:00 2001
From: Chris Bieneman <chris.bieneman at me.com>
Date: Wed, 8 Jan 2025 18:20:21 -0600
Subject: [PATCH 11/12] Fix permissions

---
 .github/workflows/hlsl-test-all.yaml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/.github/workflows/hlsl-test-all.yaml b/.github/workflows/hlsl-test-all.yaml
index c5ca4a59fa3324..4f6335d37b697e 100644
--- a/.github/workflows/hlsl-test-all.yaml
+++ b/.github/workflows/hlsl-test-all.yaml
@@ -2,7 +2,6 @@ name: HLSL Test
 
 permissions:
   contents: read
-  checks: write
 
 on:
   workflow_dispatch:

>From 8d155e197946019952d235cbbc6353ededd46442 Mon Sep 17 00:00:00 2001
From: Chris Bieneman <chris.bieneman at me.com>
Date: Wed, 8 Jan 2025 18:46:01 -0600
Subject: [PATCH 12/12] Make sure dxil-dis builds

---
 .github/workflows/hlsl-test-all.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/hlsl-test-all.yaml b/.github/workflows/hlsl-test-all.yaml
index 4f6335d37b697e..734fbcbb966b84 100644
--- a/.github/workflows/hlsl-test-all.yaml
+++ b/.github/workflows/hlsl-test-all.yaml
@@ -133,7 +133,7 @@ jobs:
             mkdir build
             cd build
             cmake -G Ninja -DCMAKE_BUILD_TYPE=${{ inputs.BuildType }} -C ${{ github.workspace }}/DXC/cmake/caches/PredefinedParams.cmake -C ${{ github.workspace }}/OffloadTest/cmake/caches/sccache.cmake -DHLSL_DISABLE_SOURCE_GENERATION=On ${{ github.workspace }}/DXC/
-            ninja
+            ninja dxv llvm-dis
       - name: Build LLVM
         run: |
             cd llvm-project



More information about the llvm-commits mailing list