File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 32
32
- CFG : " make-EXPERIMENTAL-check"
33
33
TEST_CMD : " make check-source check-units installcheck check-gen-updated"
34
34
EXPERIMENTAL_FEATURES : 1
35
+ VALGRIND : 1
35
36
steps :
36
37
- name : Checkout
37
38
97
98
./configure
98
99
make check-doc
99
100
101
+ check-rust :
102
+ name : Check Rust file diff
103
+ runs-on : ubuntu-20.04
104
+ env :
105
+ DEVELOPER : 1
106
+ VALGRIND : 0
107
+ EXPERIMENTAL_FEATURES : 0
108
+ COMPAT : 1
109
+ steps :
110
+ - name : Checkout
111
+
112
+
113
+ - name : Set up Python 3.7
114
+ uses : actions/setup-python@v2
115
+ with :
116
+ python-version : 3.7
117
+
118
+ - name : Install dependencies
119
+ run : bash -x .github/scripts/setup.sh
120
+
121
+ - name : Check Rust diff file
122
+ run : |
123
+ pip install mako
124
+ ./configure
125
+ make check-rust
126
+
127
+
100
128
proto-test :
101
129
name : Protocol Test Config
102
130
runs-on : ubuntu-20.04
Original file line number Diff line number Diff line change @@ -525,6 +525,9 @@ check-python-flake8:
525
525
check-pytest-pyln-proto :
526
526
PATH=$(PYLN_PATH ) PYTHONPATH=$(MY_CHECK_PYTHONPATH ) $(PYTEST ) contrib/pyln-proto/tests/
527
527
528
+ check-rust :
529
+ git diff --exit-code .msggen.json | echo " diff in rust file, need to be updated by enabling rust" && exit 1
530
+
528
531
check-includes : check-src-includes check-hdr-includes
529
532
@tools/check-includes.sh
530
533
You can’t perform that action at this time.
0 commit comments