Skip to content

Provide a switch to control shared vs static lib #351

Provide a switch to control shared vs static lib

Provide a switch to control shared vs static lib #351

Workflow file for this run

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