Skip to content

Commit 501f602

Browse files
update git repositories for spirv-tools and glslang
1 parent 74e7d95 commit 501f602

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/windowsbuildcmake.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,20 @@ jobs:
99
runs-on: windows-latest
1010

1111
steps:
12-
1312
- name: Checkout repository
1413
uses: actions/checkout@v3
14+
uses: humbletim/vsdevenv-shell@v2
1515

1616
- name: Create CMake Build Directory
17+
shell: vsdevenv x64 pwsh {0}
1718
run: mkdir ../build && cmake -B ../build -DCMAKE_BUILD_TYPE=Debug -G Ninja
1819

1920
- name: Build
21+
shell: vsdevenv x64 pwsh {0}
2022
run: cmake --build ../build
2123

2224
- name: Test
25+
shell: vsdevenv x64 pwsh {0}
2326
run: ctest .
2427
working-directory: ../build/ZEngine/tests
2528

externals.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,15 @@ FetchContent_Declare(
8585

8686
FetchContent_Declare(
8787
glslang
88+
GIT_REPOSITORY https://github.com/KhronosGroup/glslang.git
89+
GIT_SHALLOW TRUE
8890
FIND_PACKAGE_ARGS
8991
)
9092

9193
FetchContent_Declare(
9294
SPIRV-Tools
95+
GIT_REPOSITORY https://github.com/KhronosGroup/SPIRV-Tools.git
96+
GIT_SHALLOW TRUE
9397
FIND_PACKAGE_ARGS
9498
)
9599

0 commit comments

Comments
 (0)