Extend platform support for WSI without the need to include windowing API #358
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: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu, macos, windows] | |
name: ${{matrix.os}} | |
runs-on: ${{matrix.os}}-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
with: | |
repository: KhronosGroup/Vulkan-Headers | |
ref: main | |
path: Vulkan-Headers | |
fetch-depth: 0 | |
fetch-tags: true | |
- name: move sdk | |
shell: bash | |
run: | | |
mv Vulkan-Headers ~/Vulkan-Headers | |
- name: build main | |
shell: bash | |
run: | | |
export VULKAN_SDK=~/Vulkan-Headers | |
git -C ~/Vulkan-Headers checkout main | |
test/run_tests.sh | |
- name: build 1.1.101 | |
shell: bash | |
run: | | |
export VULKAN_SDK=~/Vulkan-Headers | |
git -C ~/Vulkan-Headers checkout sdk-1.1.101 | |
test/run_tests.sh | |
- name: build 1.2.131 | |
shell: bash | |
run: | | |
export VULKAN_SDK=~/Vulkan-Headers | |
git -C ~/Vulkan-Headers checkout sdk-1.2.131 | |
test/run_tests.sh | |
- name: build 1.2.182 | |
shell: bash | |
run: | | |
export VULKAN_SDK=~/Vulkan-Headers | |
git -C ~/Vulkan-Headers checkout sdk-1.2.182 | |
test/run_tests.sh | |
- name: build 1.3.204 | |
shell: bash | |
run: | | |
export VULKAN_SDK=~/Vulkan-Headers | |
git -C ~/Vulkan-Headers checkout sdk-1.3.204 | |
test/run_tests.sh | |
- name: build 1.3.239 | |
shell: bash | |
run: | | |
export VULKAN_SDK=~/Vulkan-Headers | |
git -C ~/Vulkan-Headers checkout sdk-1.3.239 | |
test/run_tests.sh | |
- name: build 1.3.268 | |
shell: bash | |
run: | | |
export VULKAN_SDK=~/Vulkan-Headers | |
git -C ~/Vulkan-Headers checkout vulkan-sdk-1.3.268 | |
test/run_tests.sh |