Skip to content

Commit c84e8c9

Browse files
committed
add build & test workflow
1 parent e73f2ce commit c84e8c9

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/cargo.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Cargo Build & Test
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
env:
8+
CARGO_TERM_COLOR: always
9+
10+
jobs:
11+
build_and_test:
12+
name: emurs - latest
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
toolchain:
17+
- stable
18+
steps:
19+
- uses: actions/checkout@v4
20+
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
21+
- run: cargo build --verbose
22+
- run: cargo test --verbose

0 commit comments

Comments
 (0)