Impl core::ops::Sub
for Dim types
#2117
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
- push | |
- pull_request | |
jobs: | |
cargo-test: | |
name: cargo-test-nightly | |
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: --tests --features nightly,safetensors,numpy | |
- name: test CPU f64 | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
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 |