File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : intel-mkl-pack
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request : {}
8
+
9
+ jobs :
10
+ linux :
11
+ runs-on : ubuntu-22.04
12
+ container :
13
+ image : ghcr.io/rust-math/rust-mkl:1.62.1-2020.1
14
+ steps :
15
+ - uses : actions/checkout@v1
16
+
17
+ - uses : actions-rs/cargo@v1
18
+ with :
19
+ command : install
20
+ args : ocipkg-cli --version=0.2.3
21
+ - name : Add path
22
+ run : echo "$HOME/.cargo/bin" >> $GITHUB_PATH
23
+
24
+ - name : Login to GitHub Container Registry
25
+ run : |
26
+ ocipkg login -u ${{ github.repository_owner }} -p ${{ github.token }} https://ghcr.io
27
+
28
+ - name : Create oci-archive using intel-mkl-pack
29
+ uses : actions-rs/cargo@v1
30
+ with :
31
+ command : run
32
+ args : --manifest-path=intel-mkl-pack/Cargo.toml --release
33
+
34
+ - name : Push oci-archives
35
+ run : >-
36
+ for ar in $(find . -name "mkl-*-*-*.tar"); do
37
+ ocipkg push $ar;
38
+ done
You can’t perform that action at this time.
0 commit comments