Fix MSVC errors #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
pull_request: | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- uses: humbletim/[email protected] | |
with: | |
vulkan-query-version: 1.3.211.0 | |
vulkan-components: SPIRV-Tools | |
vulkan-use-cache: true | |
- name: CMake | |
run: cmake -Bbuild . | |
- name: Build | |
run: cmake --build build | |
- name: Test | |
run: python3 ./run_tests.py | |
windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- uses: humbletim/[email protected] | |
with: | |
vulkan-query-version: 1.3.211.0 | |
vulkan-components: SPIRV-Tools | |
vulkan-use-cache: true | |
- name: Add msbuild to PATH | |
uses: microsoft/[email protected] | |
- name: CMake | |
run: cmake -Bbuild -G "Visual Studio 17 2022" -A x64 . | |
- name: Build | |
run: cmake --build build | |
- name: Test | |
run: python ./run_tests.py |