Skip to content

Commit 3010250

Browse files
committed
msan,ubsan
1 parent 11fec1f commit 3010250

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/ci.yml

+36
Original file line numberDiff line numberDiff line change
@@ -168,3 +168,39 @@ jobs:
168168
env:
169169
ASAN_OPTIONS: halt_on_error=1
170170
run: make test
171+
linux-msan:
172+
name: MSAN
173+
runs-on: ubuntu-latest
174+
steps:
175+
- uses: actions/checkout@v4
176+
with:
177+
submodules: true
178+
- name: Dependencies
179+
run: |
180+
sudo apt update
181+
sudo apt install -y libcurl4-openssl-dev
182+
- name: Build it
183+
env:
184+
CC: clang
185+
run: make debug BUILD_WITH_MSAN=ON
186+
- name: Test it
187+
env:
188+
MSAN_OPTIONS: halt_on_error=1
189+
run: make test
190+
linux-ubsan:
191+
name: UBSAN
192+
runs-on: ubuntu-latest
193+
steps:
194+
- uses: actions/checkout@v4
195+
with:
196+
submodules: true
197+
- name: Dependencies
198+
run: |
199+
sudo apt update
200+
sudo apt install -y libcurl4-openssl-dev
201+
- name: Build it
202+
run: make debug BUILD_WITH_UBSAN=ON
203+
- name: Test it
204+
env:
205+
UBSAN_OPTIONS: halt_on_error=1
206+
run: make test

0 commit comments

Comments
 (0)