From a6aba2c85ca6f2c9d549ad7a025504976a6c4312 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Mon, 30 Oct 2023 15:43:05 +0200 Subject: [PATCH] ci : try to fix code coverage build --- .github/workflows/code-coverage.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/code-coverage.yml b/.github/workflows/code-coverage.yml index 392db8a08..250c5f4b2 100644 --- a/.github/workflows/code-coverage.yml +++ b/.github/workflows/code-coverage.yml @@ -15,13 +15,13 @@ jobs: - name: Dependencies run: | sudo apt-get update - sudo apt-get install build-essential gcc-8 lcov + sudo apt-get install build-essential gcc-9 g++-9 lcov - name: Build - run: CC=gcc-8 make -j LLAMA_CODE_COVERAGE=1 tests + run: CC=gcc-9 CXX=g++-9 make -j LLAMA_CODE_COVERAGE=1 tests - name: Run tests - run: CC=gcc-8 make test + run: CC=gcc-9 CXX=g++-9 make test - name: Generate coverage report run: |