Skip to content

Commit 26bfbb3

Browse files
committed
Update GLCI to use own container image
1 parent 1585e32 commit 26bfbb3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,18 +215,17 @@ test-lin-ancient-cran:
215215
# run the main checks with Address(+Leak),UBSanitizer enabled
216216
test-lin-san:
217217
<<: *test-lin
218-
image: docker.io/rocker/r-devel-ubsan-clang
218+
image: registry.gitlab.com/rdatatable/dockerfiles/r-devel-clang-san
219219
variables:
220220
# must be set for most of the process because there are pseudo-leaks everywhere
221221
ASAN_OPTIONS: "detect_leaks=0"
222222
# fontconfig is known to leak; add more suppressions as discovered
223223
LSAN_OPTIONS: "suppressions=$CI_PROJECT_DIR/.dev/lsan.supp"
224-
UBSAN_OPTIONS: "suppressions=$CI_PROJECT_DIR/.dev/ubsan.supp"
224+
UBSAN_OPTIONS: "suppressions=$CI_PROJECT_DIR/.dev/ubsan.supp:print_stacktrace=1"
225225
script:
226-
- ln -svf "$(which RDscript)" "$(which Rscript)" # install-deps will run 'Rscript', we need R-devel+sanitizers
227226
- *install-deps
228227
- >-
229-
ASAN_OPTIONS=detect_leaks=1 RD CMD check --no-manual $(ls -1t data.table_*.tar.gz | head -n 1); res1=$?
228+
ASAN_OPTIONS=detect_leaks=1 R CMD check --no-manual $(ls -1t data.table_*.tar.gz | head -n 1); res1=$?
230229
perl -nle '(print, $a=1) if /: runtime error: |ERROR: LeakSanitizer/../SUMMARY.*Sanitizer/ }{ exit $a' data.table.Rcheck/**/*.Rout*; res2=$?
231230
# fail if R CMD check had failed or if sanitizer output found
232231
[ $res1 -eq 0 ] && [ $res2 -eq 0 ]

0 commit comments

Comments
 (0)