diff --git a/.github/workflows/intel-mkl-sys.yml b/.github/workflows/intel-mkl-sys.yml index 82a1d183..7ca59efe 100644 --- a/.github/workflows/intel-mkl-sys.yml +++ b/.github/workflows/intel-mkl-sys.yml @@ -19,6 +19,12 @@ jobs: runs-on: windows-2019 steps: - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + toolchain: "1.56.0" + profile: minimal + default: true + override: true - uses: actions-rs/cargo@v1 with: command: test @@ -39,6 +45,12 @@ jobs: runs-on: macos-10.15 steps: - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + toolchain: "1.56.0" + profile: minimal + default: true + override: true - uses: actions-rs/cargo@v1 with: command: test @@ -60,9 +72,15 @@ jobs: - mkl-dynamic-lp64-seq - mkl-dynamic-ilp64-iomp - mkl-dynamic-ilp64-seq - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + toolchain: "1.56.0" + profile: minimal + default: true + override: true - uses: actions-rs/cargo@v1 with: command: test diff --git a/.github/workflows/intel-mkl-tool.yml b/.github/workflows/intel-mkl-tool.yml index 4af9f472..8cb2fee2 100644 --- a/.github/workflows/intel-mkl-tool.yml +++ b/.github/workflows/intel-mkl-tool.yml @@ -14,10 +14,16 @@ jobs: os: - windows-2019 - macos-10.15 - - ubuntu-18.04 + - ubuntu-22.04 runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + toolchain: "1.56.0" + profile: minimal + default: true + override: true - uses: actions-rs/cargo@v1 with: command: test @@ -30,7 +36,7 @@ jobs: name: cargo-test no-default-features docker: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index eb1f7158..00dfa704 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -1,4 +1,4 @@ -name: Rust +name: rust on: push: @@ -8,10 +8,32 @@ on: jobs: check-format: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + toolchain: "1.56.0" + profile: minimal + components: rustfmt + default: true + override: true - uses: actions-rs/cargo@v1 with: command: fmt args: -- --check + + clippy: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + toolchain: "1.56.0" + profile: minimal + components: clippy + default: true + override: true + - uses: actions-rs/cargo@v1 + with: + command: clippy diff --git a/intel-mkl-src/Cargo.toml b/intel-mkl-src/Cargo.toml index a95a465a..06f6ffa4 100644 --- a/intel-mkl-src/Cargo.toml +++ b/intel-mkl-src/Cargo.toml @@ -4,6 +4,8 @@ version = "0.6.0+mkl2020.1" authors = ["Toshiki Teramura "] edition = "2018" +rust-version = "1.56.0" # MSRV is introduced + description = "Redistribution of Intel(R) MKL as a crate" repository = "https://github.com/rust-math/intel-mkl-src" keywords = ["fft", "blas", "lapack"] @@ -33,5 +35,5 @@ download = ["intel-mkl-tool/archive"] xdg-data-home = [] [build-dependencies] -anyhow = "1" +anyhow = "1.0.58" intel-mkl-tool = { version = "0.2.0", path = "../intel-mkl-tool", default-features = false } diff --git a/intel-mkl-sys/Cargo.toml b/intel-mkl-sys/Cargo.toml index 7248d41d..4e75e3d1 100644 --- a/intel-mkl-sys/Cargo.toml +++ b/intel-mkl-sys/Cargo.toml @@ -4,6 +4,8 @@ version = "0.2.0+mkl2020.1" authors = ["Toshiki Teramura "] edition = "2018" +rust-version = "1.56.0" # MSRV is introduced + description = "FFI for Intel(R) MKL" repository = "https://github.com/rust-math/intel-mkl-src" keywords = ["ffi"] @@ -30,9 +32,9 @@ download = ["intel-mkl-src/download"] intel-mkl-src = { path = "../intel-mkl-src", version = "0.6.0", default-features = false } [dev-dependencies] -criterion = "0.3.0" -rand = "0.7.2" -approx = "0.3.2" +criterion = "0.3.6" +rand = "0.8.5" +approx = "0.5.1" [[bench]] name = "cos" diff --git a/intel-mkl-tool/Cargo.toml b/intel-mkl-tool/Cargo.toml index 2d621fbd..9bad7ab0 100644 --- a/intel-mkl-tool/Cargo.toml +++ b/intel-mkl-tool/Cargo.toml @@ -16,22 +16,22 @@ archive = ["curl", "tar", "zstd"] cli = ["structopt", "archive"] [dependencies] -anyhow = "1.0.31" -derive_more = "0.99.8" -dirs = "2.0.2" +anyhow = "1.0.58" +derive_more = "0.99.17" +dirs = "4.0.0" glob = "0.3.0" -pkg-config = "0.3.17" +pkg-config = "0.3.25" # archive -curl = { version = "0.4.29", optional = true } -tar = { version = "0.4.29", optional = true } -zstd = { version = "<=0.11, >=0.6", optional = true } +curl = { version = "0.4.44", optional = true } +tar = { version = "0.4.38", optional = true } +zstd = { version = "0.11.2", optional = true } # CLI -structopt = { version = "0.3.15", optional = true } +structopt = { version = "0.3.26", optional = true } [dev-dependencies] -paste = "0.1.17" +paste = "1.0.7" [[bin]] name = "intel-mkl-tool" diff --git a/rust-toolchain b/rust-toolchain new file mode 100644 index 00000000..3ebf789f --- /dev/null +++ b/rust-toolchain @@ -0,0 +1 @@ +1.56.0