Skip to content

Commit 3dddfdd

Browse files
committed
Add -fsanitize to GitHub CI workflow.
1 parent 3774e75 commit 3dddfdd

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/makefile.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,21 @@ jobs:
1515
run: bmake regress
1616
- name: Memory check
1717
run: bmake valgrind
18+
ubuntu_fsanitize:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@master
22+
- name: Install dependencies
23+
run: sudo apt-get install -y libcurl4-openssl-dev bmake valgrind
24+
- name: Configure
25+
run: |
26+
cat /etc/os-release
27+
echo "HAVE_SECCOMP_HEADER=0" > configure.local
28+
./configure
29+
echo "CFLAGS += -fsanitize=undefined,address" >> Makefile.configure
30+
echo "LDFLAGS += -fsanitize=undefined,address" >> Makefile.configure
31+
- name: Build and test
32+
run: bmake regress
1833
ubuntu_libbsd:
1934
runs-on: ubuntu-latest
2035
steps:

0 commit comments

Comments
 (0)