Skip to content

Commit 0594d5c

Browse files
committed
Add gcp runner to clang workflow
1 parent 7be17d4 commit 0594d5c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- { os: macos, compiler: gcc }
2828
include:
2929
# Builds running on self-hosted runners (build + tests)
30-
- { os: windows, platform: "x86_64", compiler: clang, preset: clang, config: "Debug", flags: "unit-test,coverage", runs-on: { group: nvrgfx, labels: [Windows, X64] } }
30+
- { os: windows, platform: "x86_64", compiler: clang, preset: clang, config: "Debug", flags: "unit-test,coverage", runs-on: { group: gcp, labels: [Windows, X64] } }
3131
- { os: windows, platform: "x86_64", compiler: msvc, preset: default, config: "Release", flags: "unit-test", runs-on: { group: nvrgfx, labels: [Windows, X64] } }
3232
- { os: linux, platform: "x86_64", compiler: clang, preset: clang, config: "Debug", flags: "unit-test,coverage", runs-on: { group: nvrgfx, labels: [Linux, X64] } }
3333
- { os: linux, platform: "x86_64", compiler: clang, preset: clang, config: "Release", flags: "unit-test", runs-on: { group: nvrgfx, labels: [Linux, X64] } }
@@ -62,7 +62,9 @@ jobs:
6262
uses: lukka/get-cmake@latest
6363

6464
- name: Configure
65-
run: cmake --preset ${{matrix.preset}} -S . -B build ${{ contains(matrix.flags, 'coverage') && '-DSLANG_RHI_ENABLE_COVERAGE=ON' || '' }}
65+
run: |
66+
${{ matrix.os == 'windows' && contains(matrix.runs-on.group, 'gcp') && '$env:PATH = "C:\Program Files\LLVM\bin;" + $env:PATH' || '' }}
67+
cmake --preset ${{matrix.preset}} -S . -B build ${{ contains(matrix.flags, 'coverage') && '-DSLANG_RHI_ENABLE_COVERAGE=ON' || '' }}
6668
6769
- name: Build
6870
run: cmake --build build --config ${{matrix.config}}

0 commit comments

Comments
 (0)