Skip to content

Commit

Permalink
Improve backend test by using a dedicated matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed May 27, 2024
1 parent 1e01415 commit 0403eb8
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ jobs:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
flags: ['', '--prod']
backend: ['pure-v', 'cblas']
fail-fast: false

steps:
Expand Down Expand Up @@ -159,8 +160,9 @@ jobs:
- name: Move VTL source code to V Modules
run: mv ./vtl ~/.vmodules

- name: Execute Tests using Pure V Backend
run: ~/.vmodules/vtl/bin/test ${{ matrix.flags }}

- name: Execute Tests using Pure V Backend with Pure C Blas
run: ~/.vmodules/vtl/bin/test ${{ matrix.flags }} --use-cblas
- name: Execute Tests
run: |
if [[ "${{ matrix.backend }}" == "cblas" ]]; then
backend_flag=--use-cblas
fi
~/.vmodules/vtl/bin/test ${{ matrix.flags }} $backend_flag

0 comments on commit 0403eb8

Please sign in to comment.