Skip to content

Commit 4b6d67b

Browse files
committed
github actions CI
1 parent 3f4035f commit 4b6d67b

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/rust.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Rust
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
build:
14+
name: Ubuntu Latest
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Info
19+
run: |
20+
rustc -V
21+
cargo -V
22+
- name: Test
23+
run: cargo test
24+
build-windows:
25+
name: Windows 2019 Server
26+
runs-on: windows-2019
27+
steps:
28+
- uses: actions/checkout@v2
29+
- name: Info
30+
run: |
31+
rustc -V
32+
cargo -V
33+
cmd /C ver
34+
- name: Test
35+
run: cargo test

0 commit comments

Comments
 (0)