diff options
author | Thanos Makatos <thanos.makatos@nutanix.com> | 2021-02-01 09:53:48 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-01 09:53:48 +0000 |
commit | eb51bf03e38882479206ee1dc2e1797976984294 (patch) | |
tree | c93c7833439a2fe606af4de3853029e85bae5817 /.github/workflows | |
parent | cfa10a52e23587118d7432c960ecdd213cda3e91 (diff) | |
download | libvfio-user-eb51bf03e38882479206ee1dc2e1797976984294.zip libvfio-user-eb51bf03e38882479206ee1dc2e1797976984294.tar.gz libvfio-user-eb51bf03e38882479206ee1dc2e1797976984294.tar.bz2 |
CI: run client/server through Valgrind (#282)
CI: run client/server through Valgrind
And fail the test if Valgrind discovers any errors.
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/pull_request.yml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 0475f70..ef2a1cd 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -8,7 +8,7 @@ jobs: - name: pre-push run: | sudo apt-get update - sudo apt-get -y install libjson-c-dev libcmocka-dev clang + sudo apt-get -y install libjson-c-dev libcmocka-dev clang valgrind make pre-push VERBOSE=1 ubuntu-18: runs-on: ubuntu-18.04 @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v2 - name: pre-push run: | - sudo apt-get -y install libjson-c-dev libcmocka-dev clang + sudo apt-get -y install libjson-c-dev libcmocka-dev clang valgrind make pre-push VERBOSE=1 centos-7: runs-on: ubuntu-latest @@ -26,7 +26,8 @@ jobs: - name: pre-push run: | yum -y install make gcc-4.8.5 epel-release pciutils - yum -y install clang cmake json-c-devel libcmocka-devel openssl-devel + yum -y install clang cmake json-c-devel libcmocka-devel \ + openssl-devel valgrind make pre-push VERBOSE=1 fedora-rawhide: runs-on: ubuntu-latest @@ -36,5 +37,5 @@ jobs: - name: pre-push run: | yum -y install gcc make clang cmake json-c-devel libcmocka-devel \ - openssl-devel pciutils diffutils + openssl-devel pciutils diffutils valgrind make pre-push VERBOSE=1 |