properly utilize generator env var
This commit is contained in:
parent
409c16be50
commit
b9390925ea
1 changed files with 5 additions and 5 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
|
@ -28,7 +28,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
cmakeVersion: ${{ matrix.cmake-version }}
|
cmakeVersion: ${{ matrix.cmake-version }}
|
||||||
- uses: ilammy/msvc-dev-cmd@v1
|
- uses: ilammy/msvc-dev-cmd@v1
|
||||||
- run: cmake -S . -B build -D VULKAN_HEADERS_ENABLE_TESTS=ON -D VULKAN_HEADERS_ENABLE_INSTALL=ON -G Ninja
|
- run: cmake -S . -B build -D VULKAN_HEADERS_ENABLE_TESTS=ON -D VULKAN_HEADERS_ENABLE_INSTALL=ON -G ${{env.CMAKE_GENERATOR}}
|
||||||
- run: cmake --build ./build
|
- run: cmake --build ./build
|
||||||
- run: cmake --install build/ --prefix build/install
|
- run: cmake --install build/ --prefix build/install
|
||||||
- run: ctest --output-on-failure
|
- run: ctest --output-on-failure
|
||||||
|
|
@ -46,7 +46,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
cmakeVersion: ${{ matrix.cmake-version }}
|
cmakeVersion: ${{ matrix.cmake-version }}
|
||||||
- uses: ilammy/msvc-dev-cmd@v1
|
- uses: ilammy/msvc-dev-cmd@v1
|
||||||
- run: cmake -S . -B build -D VULKAN_HEADERS_ENABLE_TESTS=ON -D VULKAN_HEADERS_ENABLE_INSTALL=ON -G Ninja
|
- run: cmake -S . -B build -D VULKAN_HEADERS_ENABLE_TESTS=ON -D VULKAN_HEADERS_ENABLE_INSTALL=ON -G ${{env.CMAKE_GENERATOR}}
|
||||||
- run: cmake --build ./build
|
- run: cmake --build ./build
|
||||||
- run: cmake --install build/ --prefix build/install
|
- run: cmake --install build/ --prefix build/install
|
||||||
- run: ctest --output-on-failure
|
- run: ctest --output-on-failure
|
||||||
|
|
@ -68,7 +68,7 @@ jobs:
|
||||||
-D CMAKE_BUILD_TYPE=Release `
|
-D CMAKE_BUILD_TYPE=Release `
|
||||||
-D VULKAN_HEADERS_ENABLE_TESTS=ON `
|
-D VULKAN_HEADERS_ENABLE_TESTS=ON `
|
||||||
-D VULKAN_HEADERS_ENABLE_INSTALL=ON `
|
-D VULKAN_HEADERS_ENABLE_INSTALL=ON `
|
||||||
-G Ninja
|
-G ${{env.CMAKE_GENERATOR}}
|
||||||
- run: cmake --build ./build
|
- run: cmake --build ./build
|
||||||
- run: cmake --install build/ --prefix build/install
|
- run: cmake --install build/ --prefix build/install
|
||||||
- run: ctest --output-on-failure
|
- run: ctest --output-on-failure
|
||||||
|
|
@ -95,7 +95,7 @@ jobs:
|
||||||
-D VULKAN_HEADERS_ENABLE_MODULE=ON \
|
-D VULKAN_HEADERS_ENABLE_MODULE=ON \
|
||||||
-D VULKAN_HEADERS_ENABLE_MODULE_STD=OFF \
|
-D VULKAN_HEADERS_ENABLE_MODULE_STD=OFF \
|
||||||
-D CMAKE_CXX_COMPILER=${{ matrix.compiler }} \
|
-D CMAKE_CXX_COMPILER=${{ matrix.compiler }} \
|
||||||
-G Ninja
|
-G ${{env.CMAKE_GENERATOR}}
|
||||||
- run: cmake --build ./build
|
- run: cmake --build ./build
|
||||||
- run: cmake --install build/ --prefix build/install
|
- run: cmake --install build/ --prefix build/install
|
||||||
- run: CXX=${{ matrix.compiler }} ctest --output-on-failure
|
- run: CXX=${{ matrix.compiler }} ctest --output-on-failure
|
||||||
|
|
@ -120,7 +120,7 @@ jobs:
|
||||||
-D VULKAN_HEADERS_ENABLE_INSTALL=ON `
|
-D VULKAN_HEADERS_ENABLE_INSTALL=ON `
|
||||||
-D VULKAN_HEADERS_ENABLE_MODULE=ON `
|
-D VULKAN_HEADERS_ENABLE_MODULE=ON `
|
||||||
-D VULKAN_HEADERS_ENABLE_MODULE_STD=OFF `
|
-D VULKAN_HEADERS_ENABLE_MODULE_STD=OFF `
|
||||||
-G Ninja
|
-G ${{env.CMAKE_GENERATOR}}
|
||||||
- run: cmake --build ./build
|
- run: cmake --build ./build
|
||||||
- run: cmake --install build/ --prefix build/install
|
- run: cmake --install build/ --prefix build/install
|
||||||
- run: ctest --output-on-failure
|
- run: ctest --output-on-failure
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue