Skip to content

Commit 067d08b

Browse files
authored
Add Rust CI.
1 parent f1503a8 commit 067d08b

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/rust.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Rust
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@master
19+
- name: Info
20+
run: |
21+
cargo --version -v
22+
rustc --version -v
23+
- name: Build
24+
run: |
25+
cd rust
26+
cargo build --verbose
27+
- name: Test
28+
run: |
29+
cd rust
30+
cargo test --verbose

0 commit comments

Comments
 (0)