File tree Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
on : [pull_request]
3
3
4
- name : Cargo test
4
+ name : Rust
5
5
jobs :
6
6
check :
7
7
name : Test the heed project
28
28
cargo clean
29
29
cargo test
30
30
31
+ examples :
32
+ name : Run the heed examples
33
+ runs-on : ${{ matrix.os }}
34
+ strategy :
35
+ matrix :
36
+ os : [ubuntu-latest, windows-latest, macos-latest]
37
+ include :
38
+ - os : ubuntu-latest
39
+ - os : windows-latest
40
+ - os : macos-latest
41
+
42
+ steps :
43
+ - uses : actions/checkout@v2
44
+ with :
45
+ submodules : recursive
46
+ - uses : actions-rs/toolchain@v1
47
+ with :
48
+ profile : minimal
49
+ toolchain : stable
50
+ override : true
51
+ - name : Run the examples
52
+ run : |
53
+ cargo clean
54
+ cargo run --example 2>&1 | grep -E '^ ' | xargs -n1 cargo run --example
55
+
31
56
fmt :
32
57
name : Ensure the heed project is formatted
33
58
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments