File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 CARGO_TERM_COLOR : always
1111
1212jobs :
13- build :
13+ check_format :
14+
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - uses : actions/checkout@v2
19+ - name : Check format
20+ run : cargo fmt -- --check
21+
22+ build workspace :
1423
1524 runs-on : ubuntu-latest
1625
@@ -21,11 +30,24 @@ jobs:
2130 - name : Run tests
2231 run : cargo test --verbose
2332
24- check_format :
33+ build lib (all features) :
2534
2635 runs-on : ubuntu-latest
2736
2837 steps :
29- - uses : actions/checkout@v2
30- - name : Check format
31- run : cargo fmt -- --check
38+ - uses : actions/checkout@v2
39+ - name : Build
40+ run : cargo build --package splashsurf_lib --all-features --verbose
41+ - name : Run tests
42+ run : cargo test --package splashsurf_lib --all-features --verbose
43+
44+ build lib (no default features) :
45+
46+ runs-on : ubuntu-latest
47+
48+ steps :
49+ - uses : actions/checkout@v2
50+ - name : Build
51+ run : cargo build --package splashsurf_lib --no-default-features --verbose
52+ - name : Run tests
53+ run : cargo test --package splashsurf_lib --no-default-features --verbose
You can’t perform that action at this time.
0 commit comments