2021-06-07 14:19:08 +00:00
|
|
|
|
|
|
|
name: CI Windows
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
2023-01-20 17:51:43 +00:00
|
|
|
branches: [ main ]
|
2021-06-07 14:19:08 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ${{matrix.os}}
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2022-03-22 10:10:06 +00:00
|
|
|
os: [windows-latest, windows-2019]
|
2022-07-07 08:22:21 +00:00
|
|
|
architecture: [x86, x64]
|
2021-06-07 14:19:08 +00:00
|
|
|
build_type: [Debug, Release]
|
|
|
|
cxx_standard: [11, 14, 17, 20]
|
|
|
|
steps:
|
2023-09-28 14:39:48 +00:00
|
|
|
- uses: actions/checkout@v4
|
2023-01-19 07:11:46 +00:00
|
|
|
with:
|
|
|
|
submodules: recursive
|
2022-07-07 08:22:21 +00:00
|
|
|
|
|
|
|
- name: Setup MSVC
|
2023-02-20 16:48:47 +00:00
|
|
|
uses: TheMrMilchmann/setup-msvc-dev@v2
|
2022-07-07 08:22:21 +00:00
|
|
|
with:
|
|
|
|
arch: ${{matrix.architecture}}
|
2021-06-07 14:19:08 +00:00
|
|
|
|
|
|
|
- name: Configure CMake
|
2022-12-06 22:17:47 +00:00
|
|
|
run: cmake -B ${{github.workspace}}/build
|
2023-06-20 12:43:35 +00:00
|
|
|
-DVULKAN_HPP_SAMPLES_BUILD=ON
|
|
|
|
-DVULKAN_HPP_SAMPLES_BUILD_ONLY_DYNAMIC=ON
|
|
|
|
-DVULKAN_HPP_SAMPLES_BUILD_WITH_LOCAL_VULKAN_HPP=ON
|
|
|
|
-DVULKAN_HPP_TESTS_BUILD=ON
|
|
|
|
-DVULKAN_HPP_TESTS_BUILD_ONLY_DYNAMIC=ON
|
|
|
|
-DVULKAN_HPP_TESTS_BUILD_WITH_LOCAL_VULKAN_HPP=ON
|
2022-08-10 09:19:06 +00:00
|
|
|
-DVULKAN_HPP_PRECOMPILE=OFF
|
2021-06-07 14:19:08 +00:00
|
|
|
-DVULKAN_HPP_RUN_GENERATOR=ON
|
|
|
|
-DCMAKE_CXX_STANDARD=${{matrix.cxx_standard}}
|
2022-07-07 08:22:21 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=${{matrix.build_type}}
|
|
|
|
|
2021-06-07 14:19:08 +00:00
|
|
|
- name: Build
|
2022-07-07 08:22:21 +00:00
|
|
|
run: cmake --build ${{github.workspace}}/build --parallel
|