Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6fb7207

Browse files
Dirrekebluss
authored andcommitted
fix CI
1 parent fb1b6d6 commit 6fb7207

File tree

5 files changed

+50
-92
lines changed

5 files changed

+50
-92
lines changed

‎.github/workflows/gh-pages.yml‎

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,21 @@ jobs:
3333
runs-on: ubuntu-latest
3434
steps:
3535
- name: Checkout
36-
uses: actions/checkout@v3
36+
uses: actions/checkout@v4
3737

3838
# Generate cargo-doc
39-
- uses: actions-rs/cargo@v1
40-
with:
41-
command: doc
42-
args: --no-deps
39+
- name: Generate documentation
40+
run: cargo doc --no-deps
4341

4442
- name: Setup Pages
45-
uses: actions/configure-pages@v2
43+
uses: actions/configure-pages@v5
4644

4745
# Upload target/doc directory
4846
- name: Upload artifact
49-
uses: actions/upload-pages-artifact@v1
47+
uses: actions/upload-pages-artifact@v3
5048
with:
5149
path: 'target/doc'
5250

5351
- name: Deploy to GitHub Pages
5452
id: deployment
55-
uses: actions/deploy-pages@v1
53+
uses: actions/deploy-pages@v4

‎.github/workflows/intel-mkl.yml‎

Lines changed: 10 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -5,44 +5,16 @@ on:
55
branches:
66
- master
77
pull_request: {}
8+
workflow_dispatch:
89

910
jobs:
10-
windows:
11-
runs-on: windows-2019
11+
intel-mkl:
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
system: [ubuntu-22.04, windows-latest]
16+
runs-on: ${{ matrix.system }}
1217
steps:
13-
- uses: actions/checkout@v1
14-
- uses: actions-rs/cargo@v1
15-
with:
16-
command: test
17-
args: >
18-
--manifest-path=ndarray-linalg/Cargo.toml
19-
--no-default-features
20-
--features=intel-mkl-static
21-
22-
linux:
23-
runs-on: ubuntu-22.04
24-
steps:
25-
- uses: actions/checkout@v1
26-
- uses: actions-rs/cargo@v1
27-
name: cargo test
28-
with:
29-
command: test
30-
args: >
31-
--manifest-path=ndarray-linalg/Cargo.toml
32-
--no-default-features
33-
--features=intel-mkl-static
34-
35-
linux-container:
36-
runs-on: ubuntu-22.04
37-
container:
38-
image: ghcr.io/rust-math/rust-mkl:1.63.0-2020.1
39-
steps:
40-
- uses: actions/checkout@v1
41-
- uses: actions-rs/cargo@v1
42-
name: cargo test
43-
with:
44-
command: test
45-
args: >
46-
--manifest-path=ndarray-linalg/Cargo.toml
47-
--no-default-features
48-
--features=intel-mkl-system
18+
- uses: actions/checkout@v4
19+
- name: cargo test
20+
run: cargo test --manifest-path=ndarray-linalg/Cargo.toml --no-default-features --features=intel-mkl-static --verbose

‎.github/workflows/netlib.yml‎

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- master
77
pull_request: {}
8+
workflow_dispatch:
89

910
jobs:
1011
linux:
@@ -15,15 +16,10 @@ jobs:
1516
- static
1617
runs-on: ubuntu-22.04
1718
steps:
18-
- uses: actions/checkout@v1
19+
- uses: actions/checkout@v4
1920
- name: apt install gfortran
2021
run: |
2122
sudo apt update
2223
sudo apt install -y gfortran
23-
- uses: actions-rs/cargo@v1
24-
with:
25-
command: test
26-
args: >
27-
--manifest-path=ndarray-linalg/Cargo.toml
28-
--no-default-features
29-
--features=netlib-${{ matrix.feature }}
24+
- name: cargo test
25+
run: cargo test --manifest-path=ndarray-linalg/Cargo.toml --no-default-features --features=netlib-${{ matrix.feature }}

‎.github/workflows/openblas.yml‎

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,33 +5,27 @@ on:
55
branches:
66
- master
77
pull_request: {}
8+
workflow_dispatch:
89

910
jobs:
1011
linux:
1112
runs-on: ubuntu-22.04
12-
container:
13-
image: rust
1413
strategy:
1514
fail-fast: false
1615
matrix:
1716
feature:
1817
- static
1918
- system
2019
steps:
21-
- uses: actions/checkout@v1
20+
- uses: actions/checkout@v4
2221
- name: apt install gfortran
2322
run: |
24-
apt update
25-
apt install -y gfortran
23+
sudo apt update
24+
sudo apt install -y gfortran
2625
- name: Install OpenBLAS by apt
2726
run: |
28-
apt update
29-
apt install -y libopenblas-dev
27+
sudo apt update
28+
sudo apt install -y libopenblas-dev
3029
if: ${{ contains(matrix.feature, 'system') }}
31-
- uses: actions-rs/cargo@v1
32-
with:
33-
command: test
34-
args: >
35-
--manifest-path=ndarray-linalg/Cargo.toml
36-
--no-default-features
37-
--features=openblas-${{ matrix.feature }}
30+
- name: cargo test
31+
run: cargo test --manifest-path=ndarray-linalg/Cargo.toml --no-default-features --features=openblas-${{ matrix.feature }}

‎.github/workflows/rust.yml‎

Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -5,52 +5,50 @@ on:
55
branches:
66
- master
77
pull_request: {}
8+
workflow_dispatch:
89

910
jobs:
1011
check-format:
1112
runs-on: ubuntu-22.04
1213
steps:
13-
- uses: actions/checkout@v1
14-
- uses: actions-rs/cargo@v1
15-
with:
16-
command: fmt
17-
args: -- --check
14+
- uses: actions/checkout@v4
15+
- name: fmt
16+
run: cargo fmt -- --check
1817

1918
check:
2019
runs-on: ubuntu-22.04
2120
steps:
22-
- uses: actions/checkout@v1
23-
- uses: actions-rs/cargo@v1
24-
with:
25-
command: check
26-
args: --all-targets
21+
- uses: actions/checkout@v4
22+
- name: cargo check
23+
run: cargo check --all-targets
2724

2825
check-doc:
2926
runs-on: ubuntu-22.04
3027
steps:
31-
- uses: actions/checkout@v1
32-
- uses: actions-rs/cargo@v1
33-
with:
34-
command: doc
35-
args: --no-deps
28+
- uses: actions/checkout@v4
29+
- name: cargo doc
30+
run: cargo doc --no-deps
3631

3732
clippy:
3833
runs-on: ubuntu-22.04
3934
steps:
40-
- uses: actions/checkout@v1
41-
- uses: actions-rs/cargo@v1
42-
with:
43-
command: clippy
35+
- uses: actions/checkout@v4
36+
- name: cargo clippy
37+
run: cargo clippy
4438

4539
coverage:
4640
runs-on: ubuntu-22.04
4741
container:
48-
image: ghcr.io/rust-math/rust-mkl:1.63.0-2020.1
42+
image: xd009642/tarpaulin:develop-nightly
4943
options: --security-opt seccomp=unconfined
5044
steps:
51-
- uses: actions/checkout@v2
45+
- uses: actions/checkout@v4
46+
- uses: dtolnay/rust-toolchain@nightly
47+
- name: Install Cross
48+
uses: taiki-e/install-action@v2
49+
with:
50+
tool: cargo-tarpaulin
5251
- name: Generate code coverage
53-
run: |
54-
cargo tarpaulin --features=intel-mkl-system --out Xml
52+
run: cargo +nightly tarpaulin --features=intel-mkl-static --out xml
5553
- name: Upload to codecov.io
56-
uses: codecov/codecov-action@v1
54+
uses: codecov/codecov-action@v5

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /