ci : try to fix code coverage build

This commit is contained in:
Georgi Gerganov 2023-10-30 15:43:05 +02:00
parent 6f6b0db6d1
commit a6aba2c85c
No known key found for this signature in database
GPG key ID: 449E073F9DC10735

View file

@ -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: |