Skip to content

Added disabled test which shows crash bug when parsing type library (… #16

Added disabled test which shows crash bug when parsing type library (…

Added disabled test which shows crash bug when parsing type library (… #16

Workflow file for this run

name: Valgrind
on:
push:
branches: [ "main", "**" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
config: [release]
compiler: [gcc, clang]
include:
# workarourd for valgrind bug were valgrind can't correctly parse the dwarf-header generated by clang in debug.
# see issue: #177
- compiler: gcc
config: debug
steps:
- uses: actions/checkout@v3
with:
submodules: true
recursive: true
- name: Install Valgrind
run: |
sudo apt-get update
sudo apt install valgrind --fix-missing
echo "Valgrind installed"
- name: Build project
run: |
./script/bootstrap.sh
./local/bam/bam config=${{ matrix.config }} platform=linux_x86_64 compiler=${{ matrix.compiler }}
- name: Run Tests
run: |
./local/bam/bam config=${{ matrix.config }} platform=linux_x86_64 compiler=${{ matrix.compiler }} test
- name: Run Tests with Valgrind
run: |
./local/bam/bam config=${{ matrix.config }} platform=linux_x86_64 compiler=${{ matrix.compiler }} test_valgrind