File tree 1 file changed +9
-3
lines changed 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
branches : [ master ]
6
6
pull_request :
7
-
7
+
8
8
jobs :
9
9
rustfmt :
10
10
name : Check formatting
@@ -56,11 +56,17 @@ jobs:
56
56
strategy :
57
57
matrix :
58
58
rust : [beta, nightly]
59
+ features : [[], ['polonius-souffle']]
59
60
steps :
60
61
- uses : actions/checkout@v2
61
62
with :
62
63
fetch-depth : 1
63
64
65
+ - name : Install Souffle
66
+ run : |
67
+ curl -s https://packagecloud.io/install/repositories/souffle-lang/souffle/script.deb.sh | sudo bash
68
+ sudo apt-get install souffle
69
+
64
70
- name : Install rust toolchain
65
71
uses : actions-rs/toolchain@v1
66
72
with :
69
75
override : true
70
76
71
77
- name : Build polonius
72
- run : cargo build
78
+ run : cargo build --features "${{ join(matrix.features) }}"
73
79
74
80
- name : Execute tests for all crates in the workspace
75
- run : cargo test --all
81
+ run : cargo test --all --features "${{ join(matrix.features) }}"
You can’t perform that action at this time.
0 commit comments