Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ocipkg 0.2.6, anonymous pulling container #101

Merged
merged 4 commits into from
Sep 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 29 additions & 23 deletions .github/workflows/intel-mkl-sys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,52 +7,58 @@ on:
pull_request: {}

jobs:
linux:
linux-official:
strategy:
fail-fast: false
matrix:
image:
- ghcr.io/rust-math/rust-mkl:1.62.1-2020.1
- rust:1.62.1
feature:
- ""
- "" # test of no-feature
- mkl-static-lp64-iomp
- mkl-static-lp64-seq
- mkl-static-ilp64-iomp
- mkl-static-ilp64-seq
include:
- image: ghcr.io/rust-math/rust-mkl:1.62.1-2020.1
feature: mkl-dynamic-lp64-iomp
- image: ghcr.io/rust-math/rust-mkl:1.62.1-2020.1
feature: mkl-dynamic-lp64-seq
- image: ghcr.io/rust-math/rust-mkl:1.62.1-2020.1
feature: mkl-dynamic-ilp64-iomp
- image: ghcr.io/rust-math/rust-mkl:1.62.1-2020.1
feature: mkl-dynamic-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: ${{ matrix.image }}
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
if: matrix.image == 'rust:1.62.1'
with:
command: install
args: ocipkg-cli --version=0.2.3
- name: Login to ghcr.io
if: matrix.image == 'rust:1.62.1'
run: |
ocipkg login -u ${{ github.repository_owner }} -p ${{ github.token }} https://ghcr.io

args: ocipkg-cli
- uses: actions-rs/cargo@v1
with:
command: test
args: >
--manifest-path=intel-mkl-sys/Cargo.toml
--features=${{ matrix.feature }}

windows:
windows-nuget:
strategy:
fail-fast: false
matrix:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ In addition to original Keep-a-Changelog, we use following rules:

### Added
- Try ocipkg when MKL not found https://github.com/rust-math/intel-mkl-src/pull/88
- ocipkg 0.2.6, anonymous pulling container https://github.com/rust-math/intel-mkl-src/pull/101

### Removed
- Split container management as another repository https://github.com/rust-math/rust-mkl-container
Expand Down
2 changes: 1 addition & 1 deletion intel-mkl-src/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ mkl-dynamic-ilp64-seq = []

[build-dependencies]
anyhow = "1.0.58"
ocipkg = "0.2.3"
ocipkg = "0.2.6"
intel-mkl-tool = { version = "0.8.0-rc.0", path = "../intel-mkl-tool", default-features = false }