forked from rust-math/intel-mkl-src
-
Notifications
You must be signed in to change notification settings - Fork 0
107 lines (102 loc) · 2.9 KB
/
intel-mkl-sys.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
name: intel-mkl-sys
on:
push:
branches:
- master
pull_request: {}
jobs:
linux-official:
strategy:
fail-fast: false
matrix:
feature:
- "" # test of no-feature
- mkl-static-lp64-iomp
- mkl-static-lp64-seq
- mkl-static-ilp64-iomp
- mkl-static-ilp64-seq
- mkl-dynamic-lp64-iomp
- mkl-dynamic-lp64-seq
- mkl-dynamic-ilp64-iomp
- mkl-dynamic-ilp64-seq
runs-on: ubuntu-22.04
container:
image: ghcr.io/rust-math/rust-mkl:1.62.1-2020.1
steps:
- uses: actions/checkout@v1
- uses: actions-rs/cargo@v1
with:
command: test
args: >
--manifest-path=intel-mkl-sys/Cargo.toml
--features=${{ matrix.feature }}
linux-ocipkg:
strategy:
fail-fast: false
matrix:
feature:
- mkl-static-lp64-iomp
- mkl-static-lp64-seq
- mkl-static-ilp64-iomp
- mkl-static-ilp64-seq
runs-on: ubuntu-22.04
container:
image: rust:1.62.1
steps:
- uses: actions/checkout@v1
- uses: actions-rs/cargo@v1
with:
command: test
args: >
--manifest-path=intel-mkl-sys/Cargo.toml
--features=${{ matrix.feature }}
windows-nuget:
strategy:
fail-fast: false
matrix:
feature:
- mkl-static-lp64-iomp
- mkl-static-lp64-seq
- mkl-static-ilp64-iomp
- mkl-static-ilp64-seq
- mkl-dynamic-lp64-iomp
- mkl-dynamic-lp64-seq
- mkl-dynamic-ilp64-iomp
- mkl-dynamic-ilp64-seq
runs-on: windows-2022
steps:
- uses: actions/checkout@v1
- name: Get MKL using NuGet
run: |
nuget install intelmkl.devel.cluster.win-x64 -Version 2022.0.3.171
nuget install intelmkl.static.cluster.win-x64 -Version 2022.0.3.171
- name: Add DLL runtime path
run: |
echo "${{ github.workspace }}/intelmkl.redist.win-x64.2022.0.3.171/runtimes/win-x64/native" >> $Env:GITHUB_PATH
echo "${{ github.workspace }}/intelopenmp.redist.win.2022.0.0.3663/runtimes/win-x64/native" >> $Env:GITHUB_PATH
- uses: actions-rs/cargo@v1
with:
command: test
args: >
--manifest-path=intel-mkl-sys/Cargo.toml
--features=${{ matrix.feature }}
env:
MKLROOT: ${{ github.workspace }}
windows-ocipkg:
strategy:
fail-fast: false
matrix:
feature:
- mkl-static-lp64-iomp
- mkl-static-lp64-seq
- mkl-static-ilp64-iomp
- mkl-static-ilp64-seq
runs-on: windows-2022
steps:
- uses: actions/checkout@v1
- uses: actions-rs/cargo@v1
with:
command: test
args: >
--manifest-path=intel-mkl-sys/Cargo.toml
--features=${{ matrix.feature }}