1
0
mirror of https://github.com/bitdefender/bddisasm.git synced 2024-11-22 07:28:07 +00:00

ci: Don't run tests for no-mnemonic builds

We can't test the output if we don't have the instruction names.
This commit is contained in:
Anichitei Ionel-Cristinel 2024-09-17 15:18:41 +03:00 committed by GitHub
parent ca912b2819
commit 1b46174e00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,6 +25,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
fail-fast: false
matrix: matrix:
preset: ["debug-sanitizers", "no-mnemonic", "release"] preset: ["debug-sanitizers", "no-mnemonic", "release"]
@ -43,8 +44,10 @@ jobs:
make -j$(nproc) make -j$(nproc)
cd - cd -
- name: Test bddisasm - name: Test bddisasm
if: ${{ matrix.preset != 'no-mnemonic' }}
run: python3 ./tests/main.py --disasm ./build/${{ matrix.preset }}/disasmtool/disasmtool --conf ./bddisasm_test/conf-x86.json run: python3 ./tests/main.py --disasm ./build/${{ matrix.preset }}/disasmtool/disasmtool --conf ./bddisasm_test/conf-x86.json
- name: Test bdshemu - name: Test bdshemu
if: ${{ matrix.preset != 'no-mnemonic' }}
run: python3 ./tests/main.py --disasm ./build/${{ matrix.preset }}/disasmtool/disasmtool --conf ./bdshemu_test/conf-x86.json run: python3 ./tests/main.py --disasm ./build/${{ matrix.preset }}/disasmtool/disasmtool --conf ./bdshemu_test/conf-x86.json
- name: Install - name: Install
if: ${{ matrix.preset == 'release' }} if: ${{ matrix.preset == 'release' }}