Remove testing from matrix

This commit is contained in:
Henri Vasserman 2023-05-04 16:37:15 +03:00
parent 5d4158b12c
commit 42b1757522
No known key found for this signature in database
GPG key ID: 2995FC0F58B1A986

View file

@ -154,19 +154,14 @@ jobs:
include: include:
- build: 'avx2' - build: 'avx2'
defines: '' defines: ''
testing: true
- build: 'avx' - build: 'avx'
defines: '-DLLAMA_AVX2=OFF' defines: '-DLLAMA_AVX2=OFF'
testing: true
- build: 'avx512' - build: 'avx512'
defines: '-DLLAMA_AVX512=ON -DBUILD_SHARED_LIBS=ON' defines: '-DLLAMA_AVX512=ON -DBUILD_SHARED_LIBS=ON'
testing: true
- build: 'opencl' - build: 'opencl'
defines: '-DLLAMA_CLBLAST=ON -DCMAKE_PREFIX_PATH="$env:RUNNER_TEMP/clblast"' defines: '-DLLAMA_CLBLAST=ON -DCMAKE_PREFIX_PATH="$env:RUNNER_TEMP/clblast"'
testing: false
- build: 'openblas' - build: 'openblas'
defines: '-DLLAMA_OPENBLAS=ON -DBLAS_LIBRARIES="/LIBPATH:$env:RUNNER_TEMP/openblas/lib" -DOPENBLAS_INC="$env:RUNNER_TEMP/openblas/include"' defines: '-DLLAMA_OPENBLAS=ON -DBLAS_LIBRARIES="/LIBPATH:$env:RUNNER_TEMP/openblas/lib" -DOPENBLAS_INC="$env:RUNNER_TEMP/openblas/include"'
testing: true
steps: steps:
- name: Clone - name: Clone
@ -224,7 +219,7 @@ jobs:
- name: Check AVX512F support - name: Check AVX512F support
id: check_avx512f id: check_avx512f
if: ${{ matrix.testing && matrix.build == 'avx512' }} if: ${{ matrix.build == 'avx512' }}
continue-on-error: true continue-on-error: true
run: | run: |
cd build cd build
@ -237,7 +232,7 @@ jobs:
- name: Test - name: Test
id: cmake_test id: cmake_test
if: ${{ matrix.testing && (matrix.build != 'avx512' || env.HAS_AVX512F == '1') }} # Test AVX-512 only when possible if: ${{ matrix.build != 'opencl' && (matrix.build != 'avx512' || env.HAS_AVX512F == '1') }} # Test AVX-512 only when possible
run: | run: |
cd build cd build
ctest -C Release --verbose ctest -C Release --verbose