Skip to content

Commit 828cb8d

Browse files
committed
Build shaders for /analyze
1 parent 941b8e9 commit 828cb8d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/msvc.yml

+10
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,20 @@ jobs:
3939
- name: Checkout repository
4040
uses: actions/checkout@v4
4141

42+
- uses: ilammy/msvc-dev-cmd@v1
43+
with:
44+
arch: amd64
45+
4246
- name: Configure CMake
4347
working-directory: ${{env.GITHUB_WORKSPACE}}
4448
run: cmake -B out -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON
4549

50+
- name: Build Shaders
51+
working-directory: ./DirectXTex/Shaders
52+
run: CompileShaders.cmd
53+
env:
54+
CompileShadersOutput: ./out/Shaders/Compiled
55+
4656
- name: Initialize MSVC Code Analysis
4757
uses: microsoft/[email protected]
4858
id: run-analysis

0 commit comments

Comments
 (0)