Skip to content

Commit 51732dc

Browse files
committed
try to make vulkan work too
1 parent f624e37 commit 51732dc

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,15 @@ jobs:
6565
- name: Build
6666
run: cmake --build build --config Release
6767

68-
- name: Test
68+
- name: Test Vulkan
69+
if: matrix.os == 'ubuntu-22.04'
70+
working-directory: ./build
71+
run: |
72+
export GGML_VK_VISIBLE_DEVICES=0
73+
ctest --verbose
74+
75+
- name: Test CPU
76+
if: matrix.os != 'ubuntu-22.04'
6977
working-directory: ./build
7078
run: ctest --verbose -C Release
7179

@@ -77,10 +85,12 @@ jobs:
7785
run: cpack
7886

7987
- name: Upload artifacts
88+
if: success() || failure()
8089
uses: actions/upload-artifact@v4
8190
with:
8291
name: visioncpp-${{ matrix.os }}
8392
path: |
8493
./build/*.tar.gz
8594
./build/*.zip
95+
./tests/results/*.png
8696
compression-level: 0

0 commit comments

Comments
 (0)