Skip to content

Commit 9a192ef

Browse files
committed
Add ndarray-linalg tests
1 parent e206af5 commit 9a192ef

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/ndarray-linalg.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: ndarray-linalg
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request: {}
8+
9+
jobs:
10+
linux:
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
feature:
15+
- intel-mkl
16+
- openblas
17+
- netlib
18+
runs-on: ubuntu-18.04
19+
steps:
20+
- uses: actions/checkout@v1
21+
- name: apt install openblas
22+
run: |
23+
sudo apt update
24+
sudo apt install -y gfortran libopenblas-dev liblapacke-dev
25+
if: ${{ matrix.feature == 'openblas' }}
26+
- name: apt install netlib
27+
run: |
28+
sudo apt update
29+
sudo apt install -y gfortran libblas-dev liblapack-dev liblapacke-dev
30+
if: ${{ matrix.feature == 'netlib' }}
31+
- uses: actions-rs/cargo@v1
32+
with:
33+
command: test
34+
args: >
35+
--manifest-path=ndarray-linalg/Cargo.toml
36+
--no-default-features
37+
--features=${{ matrix.feature }}

0 commit comments

Comments
 (0)