Skip to content

Add Action

Add Action #26

Workflow file for this run

name: Test
on:
workflow_dispatch:
pull_request:
branches: [ vnext ]
jobs:
Build:
strategy:
matrix:
os: [windows-2019, windows-2022, ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, macOS-12, macOS-13, macOS-14]
sdkVersion: [1.3.261.1]
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Run VulkanCI Action
uses: ./
with:
sdkVersion: '${{ matrix.sdkVersion }}'
- name: Print Environment
shell: bash
run: |
echo "VULKAN_SDK=$VULKAN_SDK"
echo "VULKAN_SDK_VERSION=$VULKAN_SDK_VERSION"
echo "VK_LAYER_PATH=$VK_LAYER_PATH"
echo "SWIFTSHADER_INSTALL_PATH=$SWIFTSHADER_INSTALL_PATH"
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
echo "VK_DRIVER_FILES=$VK_DRIVER_FILES"
echo "generated driver manifest:"
cat $VK_DRIVER_FILES
- name: Run Test
shell: bash
run: |
cmake -S test -B build -DVKCI_API_VERSION="${{ matrix.sdkVersion }}" -DCMAKE_BUILD_TYPE=Release -DCMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE="${{ github.workspace }}"
cmake --build build --config Release
./vulkan-ci-test