Skip to content

Commit b0f1211

Browse files
committed
ci: install kcov using setup-cpp
1 parent 49b3bf3 commit b0f1211

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -965,6 +965,7 @@ jobs:
965965
compiler: ${{ matrix.config.compiler }}
966966
cmake: true
967967
ninja: true
968+
kcov: startsWith(matrix.config.os, 'ubuntu')
968969

969970
- name: Install libc++
970971
id: install_libcxx
@@ -974,20 +975,6 @@ jobs:
974975
run: |
975976
$GITHUB_WORKSPACE/install_libcxx.sh
976977
977-
- name: Install kcov
978-
if: startsWith(matrix.config.os, 'ubuntu')
979-
run: |
980-
sudo apt-get install -y libdw-dev libcurl4-openssl-dev
981-
mkdir kcov
982-
cd kcov
983-
wget https://github.com/SimonKagstrom/kcov/archive/refs/tags/38.tar.gz
984-
tar xf 38.tar.gz
985-
mkdir build
986-
cd build
987-
cmake ../kcov-38
988-
cmake --build .
989-
sudo cmake --install .
990-
991978
- name: Verify compilation errors
992979
if: (!startsWith(matrix.config.os, 'windows'))
993980
shell: bash

0 commit comments

Comments
 (0)