Skip to content

Commit

Permalink
Updated CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ulises-jeremias committed Oct 22, 2022
1 parent cbbbfdf commit a8c76cb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,12 @@ jobs:

strategy:
matrix:
os: [ubuntu-20.04, ubuntu-18.04]
os:
- ubuntu-20.04
- ubuntu-18.04
flags:
- ""
- "--prod"

steps:
- name: Checkout VSL
Expand All @@ -104,15 +109,15 @@ jobs:
run: mv ./vsl ~/.vmodules

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

- name: Execute Tests using Pure V Backend with Pure C Blas
run: ~/.vmodules/vsl/bin/test --use-cblas
run: ~/.vmodules/vsl/bin/test ${{ matrix.flags }} --use-cblas
if: ${{ matrix.os != 'ubuntu-18.04' }}

- name: Execute Tests using Pure V Backend and Garbage Collection enabled
run: ~/.vmodules/vsl/bin/test --use-gc boehm
run: ~/.vmodules/vsl/bin/test ${{ matrix.flags }} --use-gc boehm

- name: Execute Tests using Pure V Backend with Pure C Blas and Garbage Collection enabled
run: ~/.vmodules/vsl/bin/test --use-cblas --use-gc boehm
run: ~/.vmodules/vsl/bin/test ${{ matrix.flags }} --use-cblas --use-gc boehm
if: ${{ matrix.os != 'ubuntu-18.04' }}
4 changes: 2 additions & 2 deletions bin/test
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
##
## Options:
## -h, --help Prints usage and example
## --stats Exeute with stats
## --prod Exeute with prod build
## --stats Execute with stats
## --prod Execute with prod build
## --use-cblas Execute tests using cblas
## --use-autofree Execute tests using atofree
## --use-gc=STRATEGY Execute tests using garbage collector
Expand Down

0 comments on commit a8c76cb

Please sign in to comment.