File tree Expand file tree Collapse file tree 2 files changed +46
-15
lines changed
Expand file tree Collapse file tree 2 files changed +46
-15
lines changed Original file line number Diff line number Diff line change 1+ name : Run CI
2+ on :
3+ push :
4+ branches : ["master"]
5+ pull_request :
6+ branches : ["**"]
7+
8+ # Allows you to run this workflow manually from the Actions tab
9+ workflow_dispatch :
10+
11+ env :
12+ RUST_BACKTRACE : 1
13+ SHELL : /bin/bash
14+
15+ jobs :
16+ ci :
17+ name : Run CI
18+ runs-on : ubuntu-20.04
19+
20+ strategy :
21+ matrix :
22+ rust : [1.36.0, nightly, beta, stable]
23+
24+ steps :
25+ - uses : actions/checkout@v2
26+ with :
27+ fetch-depth : 2
28+ - name : Setup Rust
29+ uses : actions-rs/toolchain@v1
30+ with :
31+ toolchain : ${{ matrix.rust }}
32+ default : true
33+ override : true
34+ - name : Build
35+ run : |
36+ cargo build --no-default-features
37+ cargo build
38+ - name : Tests
39+ run : cargo test --all
40+ - name : Build codegen
41+ run : |
42+ cd string-cache-codegen && cargo build && cd ..
43+
44+ if [ ${{ matrix.rust }} = nightly ]; then
45+ cd integration-tests && cargo test --features unstable && cd ..;
46+ fi
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments