+
Skip to content
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
19 changes: 0 additions & 19 deletions .github/workflows/cargo-doc.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@ jobs:
profile: minimal
toolchain: stable
override: true
- run: rustup component add clippy
- name: Check Format
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
- name: Check CPU
uses: actions-rs/cargo@v1
with:
Expand All @@ -27,3 +38,8 @@ jobs:
with:
command: check
args: --features cudnn,ci-check
- name: cargo doc
uses: actions-rs/cargo@v1
with:
command: doc
args: --features ci-check,numpy,safetensors
19 changes: 0 additions & 19 deletions .github/workflows/cargo-fmt.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/cargo-test-nightly.yml

This file was deleted.

34 changes: 24 additions & 10 deletions .github/workflows/cargo-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,39 @@ on: [pull_request]

jobs:
cargo-test:
name: cargo-test
name: cargo-test-nightly

runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macOS-latest
- windows-latest
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
- name: cargo build
uses: actions-rs/cargo@v1
with:
command: test
args: --no-run --features nightly,safetensors,numpy
- name: test CPU f32
uses: actions-rs/cargo@v1
with:
command: test
args: --features safetensors,numpy
args: --tests --features nightly,safetensors,numpy
- name: test CPU f64
uses: actions-rs/cargo@v1
with:
command: test
args: --features test-f64,safetensors,numpy
args: --tests --features nightly,test-f64,safetensors,numpy
- name: doc tests
uses: actions-rs/cargo@v1
with:
command: test
args: --doc --features nightly,safetensors,numpy
- name: example tests
uses: actions-rs/cargo@v1
with:
command: test
args: --examples --features nightly,safetensors,numpy
18 changes: 0 additions & 18 deletions .github/workflows/clippy.yml

This file was deleted.

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载