From 3d0d9286328d9bfe8dea3f26331735544395001b Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Fri, 1 Jan 2021 23:36:10 +0100 Subject: [PATCH] Enable Valgrind on macOS too --- .github/workflows/ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd8e25842..322100bf9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,8 +49,21 @@ jobs: cached: ${{ steps.cache-qt.outputs.cache-hit }} - name: Install Valgrind + if: contains(matrix.os, 'ubuntu') run: sudo apt-get install valgrind + - name: Cache Homebrew + id: cache-homebrew + if: contains(matrix.os, 'macos') + uses: actions/cache@v2 + with: + path: ~/Library/Caches/Homebrew + key: HomebrewCache + + - name: Install Valgrind + if: contains(matrix.os, 'macos') + run: brew install valgrind + - name: Setup build environment run: | if [ "${{ matrix.compiler }}" == "GCC" ]; then