-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (39 loc) · 1.42 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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
id: run-action
uses: ./
with:
sdkVersion: '${{ matrix.sdkVersion }}'
- name: Print Environment
shell: bash
run: |
echo "vulkan-install-path=${{ steps.run-action.outputs.vulkan-install-path }}"
echo "swiftshader-install-path=${{ steps.run-action.outputs.swiftshader-install-path }}"
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