Skip to content

Commit 6e3032f

Browse files
committed
Setup CI
1 parent 3e66e74 commit 6e3032f

File tree

2 files changed

+58
-50
lines changed

2 files changed

+58
-50
lines changed

.github/workflows/ndarray-linalg.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: ndarray-linalg
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request: {}
8+
9+
jobs:
10+
windows:
11+
runs-on: windows-2019
12+
steps:
13+
- uses: actions/checkout@v1
14+
- uses: actions-rs/cargo@v1
15+
with:
16+
command: test
17+
args: --manifest-path=ndarray-linalg/Cargo.toml --features=intel-mkl --no-default-features
18+
19+
macos:
20+
runs-on: macos-10.15
21+
env:
22+
CC: gcc-9
23+
FC: gfortran-9
24+
LIBRARY_PATH: /usr/local/opt/gcc/lib/gcc/9
25+
strategy:
26+
fail-fast: false
27+
matrix:
28+
feature:
29+
- netlib
30+
- openblas
31+
- intel-mkl
32+
steps:
33+
- uses: actions/checkout@v1
34+
- uses: actions-rs/cargo@v1
35+
with:
36+
command: test
37+
args: --manifest-path=ndarray-linalg/Cargo.toml --features=${{ matrix.feature }} --no-default-features
38+
39+
linux:
40+
runs-on: ubuntu-18.04
41+
strategy:
42+
fail-fast: false
43+
matrix:
44+
feature:
45+
- netlib
46+
- openblas
47+
- intel-mkl
48+
steps:
49+
- uses: actions/checkout@v1
50+
- name: apt-install gfortran
51+
run: |
52+
sudo apt update
53+
sudo apt install -y gfortran
54+
if: ${{ matrix.feature != 'intel-mkl' }}
55+
- uses: actions-rs/cargo@v1
56+
with:
57+
command: test
58+
args: --manifest-path=ndarray-linalg/Cargo.toml --features=${{ matrix.feature }} --no-default-features

.github/workflows/rust.yml

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -7,56 +7,6 @@ on:
77
pull_request: {}
88

99
jobs:
10-
windows:
11-
runs-on: windows-2019
12-
steps:
13-
- uses: actions/checkout@v1
14-
- uses: actions-rs/cargo@v1
15-
with:
16-
command: test
17-
args: --features=intel-mkl --no-default-features
18-
19-
macos:
20-
runs-on: macos-10.15
21-
env:
22-
CC: gcc-9
23-
FC: gfortran-9
24-
LIBRARY_PATH: /usr/local/opt/gcc/lib/gcc/9
25-
strategy:
26-
fail-fast: false
27-
matrix:
28-
feature:
29-
- netlib
30-
- openblas
31-
- intel-mkl
32-
steps:
33-
- uses: actions/checkout@v1
34-
- uses: actions-rs/cargo@v1
35-
with:
36-
command: test
37-
args: --features=${{ matrix.feature }} --no-default-features
38-
39-
linux:
40-
runs-on: ubuntu-18.04
41-
strategy:
42-
fail-fast: false
43-
matrix:
44-
feature:
45-
- netlib
46-
- openblas
47-
- intel-mkl
48-
steps:
49-
- uses: actions/checkout@v1
50-
- name: apt-install gfortran
51-
run: |
52-
sudo apt update
53-
sudo apt install -y gfortran
54-
if: ${{ matrix.feature != 'intel-mkl' }}
55-
- uses: actions-rs/cargo@v1
56-
with:
57-
command: test
58-
args: --features=${{ matrix.feature }} --no-default-features
59-
6010
check-format:
6111
runs-on: ubuntu-18.04
6212
steps:

0 commit comments

Comments
 (0)