1
0
mirror of https://github.com/bitdefender/bddisasm.git synced 2024-11-21 23:18:09 +00:00

ci: Run tests on Linux builds with sanitizers

This commit is contained in:
Anichitei Ionel-Cristinel 2024-09-17 11:08:03 +03:00 committed by GitHub
parent 10f06b9263
commit aa90fb6282
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,6 +35,17 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build with sanitizers
run: |
mkdir build_sanitizers
cd build_sanitizers
cmke .. -DCMAKE_BUILD_TYPE=Debug -DBDD_ASAN=ON -DBDD_UBSAN=ON
make -j$(nproc)
cd -
- name: Test disasm
run: python3 ./tests/main.py --disasm ./build_sanitizers/disasmtool/disasmtool --conf ./bddisasm_test/conf-x86.json
- name: Test shemu
run: python3 ./tests/main.py --disasm ./build_sanitizers/disasmtool/disasmtool --conf ./bdshemu_test/conf-x86.json
- name: Build all
run: |
mkdir build