Skip to content

Commit 7053e9e

Browse files
committed
Updated Ubuntu CI scripts for changed ICD path
1 parent 617e94c commit 7053e9e

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/build-ubuntu.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,17 @@ jobs:
144144
cd build
145145
ninja doc
146146
147-
- name: Run Tests
148-
if: ${{ ! matrix.docs }}
147+
- name: Run Tests (Legacy Vulkan ICD path)
148+
if: ${{ (! matrix.docs) && (matrix.os == 'ubuntu-22.04') }}
149+
run: |
150+
export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/lvp_icd.x86_64.json
151+
cd build
152+
ls -lh /usr/share/vulkan/icd.d/
153+
vulkaninfo
154+
ctest --output-on-failure
155+
156+
- name: Run Tests (Modern Vulkan ICD path)
157+
if: ${{ (! matrix.docs) && (matrix.os ~= 'ubuntu-22.04') }}
149158
run: |
150159
export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/lvp_icd.json
151160
cd build

0 commit comments

Comments
 (0)