-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (29 loc) · 800 Bytes
/
rust.yml
File metadata and controls
33 lines (29 loc) · 800 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Rust
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check fmt
run: cargo fmt -- --check
- name: Clippy
run: cargo clippy --examples
- name: Run (addition)
run: cargo run --example addition
- name: Run (mnist)
run: cargo run --example mnist
- name: Run (regression_savedmodel)
run: cargo run --example regression_savedmodel
- name: Run (regression_checkpoint)
run: cargo run --example regression_checkpoint
- name: Run (mnist_savedmodel)
run: cargo run --example mnist_savedmodel
- name: Run (zenn)
run: cargo run --example zenn