Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@ jobs:
extra-packages: any::rcmdcheck
needs: check

- name: Build with ASAN
if: runner.os == 'Linux'
run: make lib

- name: Set ASAN_OPTIONS
if: runner.os == 'Linux'
run: echo "ASAN_OPTIONS=detect_leaks=0" >> $GITHUB_ENV

- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SRC=./src

.PHONY: lib
lib: clean # build the shared library version of dbc2dbf
R CMD SHLIB -o src/db2dbf.so src/*.c -fsanitize=undefined
R CMD SHLIB -o src/db2dbf.so src/*.c -fsanitize=address -fno-omit-frame-pointer

.PHONY: clean
clean: # clean generated files
Expand Down
Loading