Skip to content

Commit dacb84f

Browse files
committed
Split CI
1 parent 500e17c commit dacb84f

File tree

4 files changed

+171
-50
lines changed

4 files changed

+171
-50
lines changed

.github/workflows/intel-mkl.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: intel-mkl-backend
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request: {}
8+
9+
jobs:
10+
windows:
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
feature:
15+
- mkl-static-lp64-seq
16+
- mkl-dynamic-lp64-seq
17+
runs-on: windows-2019
18+
steps:
19+
- uses: actions/checkout@v1
20+
- uses: actions-rs/cargo@v1
21+
with:
22+
command: test
23+
args: >
24+
--no-default-features
25+
--features=${{ matrix.feature }}
26+
27+
macos:
28+
strategy:
29+
fail-fast: false
30+
matrix:
31+
feature:
32+
- mkl-dynamic-lp64-iomp
33+
- mkl-dynamic-lp64-seq
34+
runs-on: macos-10.15
35+
steps:
36+
- uses: actions/checkout@v1
37+
- uses: actions-rs/cargo@v1
38+
with:
39+
command: test
40+
args: >
41+
--no-default-features
42+
--features=${{ matrix.feature }}
43+
44+
linux:
45+
strategy:
46+
fail-fast: false
47+
matrix:
48+
feature:
49+
- mkl-static-lp64-iomp
50+
- mkl-static-lp64-seq
51+
- mkl-dynamic-lp64-iomp
52+
- mkl-dynamic-lp64-seq
53+
runs-on: ubuntu-18.04
54+
steps:
55+
- uses: actions/checkout@v1
56+
- uses: actions-rs/cargo@v1
57+
with:
58+
command: test
59+
args: >
60+
--no-default-features
61+
--features=${{ matrix.feature }}

.github/workflows/netlib.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: netlib-backend
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+
- system
16+
- static
17+
runs-on: ubuntu-18.04
18+
steps:
19+
- uses: actions/checkout@v1
20+
- name: apt install gfortran
21+
run: |
22+
sudo apt update
23+
sudo apt install -y gfortran
24+
- name: apt install netlib
25+
run: |
26+
sudo apt update
27+
sudo apt install -y libblas-dev liblapack-dev liblapacke-dev
28+
if: ${{ matrix.feature == 'system' }}
29+
- uses: actions-rs/cargo@v1
30+
with:
31+
command: test
32+
args: >
33+
--no-default-features
34+
--features=netlib-${{ matrix.feature }}
35+
36+
macos:
37+
strategy:
38+
fail-fast: false
39+
matrix:
40+
feature:
41+
- system
42+
- static
43+
runs-on: macos-10.15
44+
env:
45+
CC: gcc-9
46+
FC: gfortran-9
47+
LIBRARY_PATH: /usr/local/opt/gcc/lib/gcc/9
48+
steps:
49+
- uses: actions/checkout@v1
50+
- uses: actions-rs/cargo@v1
51+
with:
52+
command: test
53+
args: >
54+
--no-default-features
55+
--features=netlib-${{ matrix.feature }}

.github/workflows/openblas.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: openblas-backend
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+
- system
16+
- static
17+
runs-on: ubuntu-18.04
18+
steps:
19+
- uses: actions/checkout@v1
20+
- name: apt install gfortran
21+
run: |
22+
sudo apt update
23+
sudo apt install -y gfortran
24+
- name: apt install openblas
25+
run: |
26+
sudo apt update
27+
sudo apt install -y libopenblas-dev liblapacke-dev
28+
if: ${{ matrix.feature == 'system' }}
29+
- uses: actions-rs/cargo@v1
30+
with:
31+
command: test
32+
args: >
33+
--no-default-features
34+
--features=openblas-${{ matrix.feature }}
35+
36+
macos:
37+
strategy:
38+
fail-fast: false
39+
matrix:
40+
feature:
41+
- system
42+
- static
43+
runs-on: macos-10.15
44+
env:
45+
CC: gcc-9
46+
FC: gfortran-9
47+
LIBRARY_PATH: /usr/local/opt/gcc/lib/gcc/9
48+
steps:
49+
- uses: actions/checkout@v1
50+
- uses: actions-rs/cargo@v1
51+
with:
52+
command: test
53+
args: >
54+
--no-default-features
55+
--features=openblas-${{ matrix.feature }}

.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)