Skip to content

Commit e1650f1

Browse files
feat: added build & test yml
1 parent cd76896 commit e1650f1

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/build-and-test.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build & Test Draco
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
draco:
8+
runs-on: ubuntu-latest
9+
10+
defaults:
11+
run:
12+
shell: bash
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Setup rust
17+
run: rustup update --no-self-update stable
18+
- name: Build crate
19+
run: PATH=${{ runner.temp }}/proto/bin:$PATH cargo build
20+
env:
21+
RUST_BACKTRACE: 'full'
22+
- name: Run Tests
23+
run: PATH=${{ runner.temp }}/proto/bin:$PATH cargo test --features all
24+
env:
25+
RUST_BACKTRACE: 'full'

0 commit comments

Comments
 (0)