From 157721d9ab960ab4fe99f2ee5ab9cedd2af25b7f Mon Sep 17 00:00:00 2001 From: Inori Date: Mon, 26 Jun 2023 23:55:54 +0800 Subject: [PATCH] test glslc --- .github/workflows/build-windows.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 9ea3b0d8..06b2c2be 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -32,7 +32,7 @@ jobs: id: cache-vulkan-sdk uses: actions/cache@v3 with: - path: "${{env.VULKAN_SDK_PATH}}" + path: "C:\\VulkanSDK" key: vulkan-sdk - name: Setup Vulkan SDK @@ -47,7 +47,7 @@ jobs: id: cache-llvm uses: actions/cache@v3 with: - path: "${{env.LLVM_PATH}}" + path: "C:\\LLVM" key: llvm - name: Setup LLVM @@ -80,6 +80,10 @@ jobs: Set-Content -Path .\Directory.build.props -Value "`n `n ${{env.LLVM_PATH}}`n 16.0.6`n `n" + - name: Test glslc + working-directory: ${{env.GITHUB_WORKSPACE}} + run: glslc -mfmt=num -o out.h "Graphics\\Sce\\Shaders\\sce_present_frag.frag" + - name: Build working-directory: ${{env.GITHUB_WORKSPACE}} # Add additional options to the MSBuild command line here (like platform or verbosity level).