File tree Expand file tree Collapse file tree 1 file changed +34
-8
lines changed Expand file tree Collapse file tree 1 file changed +34
-8
lines changed Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
linux :
11
+ runs-on : ubuntu-18.04
12
+ container :
13
+ image : rust
11
14
strategy :
12
15
fail-fast : false
13
16
matrix :
14
17
feature :
15
- - system
16
18
- static
17
- runs-on : ubuntu-18.04
19
+ - system
18
20
steps :
19
21
- uses : actions/checkout@v1
20
22
- name : apt install gfortran
21
23
run : |
22
- sudo apt update
23
- sudo apt install -y gfortran
24
- - name : apt install openblas
24
+ apt update
25
+ apt install -y gfortran
26
+ - name : Install OpenBLAS by apt
27
+ run : |
28
+ apt update
29
+ apt install -y libopenblas-dev
30
+ if : ${{ contains(matrix.feature, 'system') }}
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=openblas-${{ matrix.feature }}
38
+
39
+ macos :
40
+ runs-on : macos-10.15
41
+ strategy :
42
+ fail-fast : false
43
+ matrix :
44
+ feature :
45
+ - static
46
+ - system
47
+ steps :
48
+ - uses : actions/checkout@v1
49
+ with :
50
+ submodules : ' recursive'
51
+ - name : Install OpenBLAS by homebrew
25
52
run : |
26
- sudo apt update
27
- sudo apt install -y libopenblas-dev
28
- if : ${{ matrix.feature == 'system' }}
53
+ brew install openblas
54
+ if : ${{ contains(matrix.feature, 'system') }}
29
55
- uses : actions-rs/cargo@v1
30
56
with :
31
57
command : test
You can’t perform that action at this time.
0 commit comments