63
63
cargo clippy --all-targets $GDEXT_FEATURES -- -D clippy::suspicious -D clippy::style -D clippy::complexity -D clippy::perf \
64
64
-D clippy::dbg_macro -D clippy::todo -D clippy::unimplemented -D warnings
65
65
66
+
66
67
unit-test :
67
68
name : unit-test (${{ matrix.name }}${{ matrix.rust-special }})
68
69
runs-on : ${{ matrix.os }}
@@ -127,7 +128,7 @@ jobs:
127
128
binary-filename : ${{ matrix.godot-binary }}
128
129
129
130
- name : " Compile tests"
130
- run : cargo test --no-run
131
+ run : cargo test $GDEXT_FEATURES --no-run
131
132
132
133
- name : " Test"
133
134
run : cargo test $GDEXT_FEATURES
@@ -136,7 +137,8 @@ jobs:
136
137
godot-itest :
137
138
name : godot-itest (${{ matrix.name }})
138
139
runs-on : ${{ matrix.os }}
139
- continue-on-error : false
140
+ # TODO: continue-on-error: false, as soon as memory errors are fixed
141
+ continue-on-error : ${{ contains(matrix.name, 'memcheck') }}
140
142
timeout-minutes : 24
141
143
strategy :
142
144
fail-fast : false # cancel all jobs as soon as one fails?
@@ -162,6 +164,16 @@ jobs:
162
164
rust-toolchain : stable
163
165
godot-binary : godot.linuxbsd.editor.dev.x86_64
164
166
167
+ - name : linux-memcheck-gcc
168
+ os : ubuntu-20.04
169
+ rust-toolchain : stable
170
+ godot-binary : godot.linuxbsd.editor.dev.x86_64.san
171
+
172
+ - name : linux-memcheck-clang
173
+ os : ubuntu-20.04
174
+ rust-toolchain : stable
175
+ godot-binary : godot.linuxbsd.editor.dev.x86_64.llvm.san
176
+
165
177
steps :
166
178
- uses : actions/checkout@v3
167
179
0 commit comments