From 17ffcd079d97239e8aa23086cc970c0c89882d2b Mon Sep 17 00:00:00 2001 From: Stephane Janel Date: Wed, 3 Jan 2024 23:55:31 +0100 Subject: [PATCH] Fix compilation error of prometheus-cpp by disabling tests as workaround --- .github/workflows/ubuntu-monitoring.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ubuntu-monitoring.yml b/.github/workflows/ubuntu-monitoring.yml index 271c3444..a0dc9091 100644 --- a/.github/workflows/ubuntu-monitoring.yml +++ b/.github/workflows/ubuntu-monitoring.yml @@ -34,10 +34,9 @@ jobs: mkdir _build cd _build - cmake .. -DBUILD_SHARED_LIBS=ON -DENABLE_PULL=OFF -DENABLE_PUSH=ON -DENABLE_COMPRESSION=OFF -DCMAKE_BUILD_TYPE=${{matrix.buildmode}} -DCMAKE_CXX_COMPILER=${{matrix.compiler}} -GNinja + cmake .. -DBUILD_SHARED_LIBS=ON -DENABLE_PULL=OFF -DENABLE_PUSH=ON -DENABLE_COMPRESSION=OFF -DENABLE_TESTING=OFF -DCMAKE_BUILD_TYPE=${{matrix.buildmode}} -DCMAKE_CXX_COMPILER=${{matrix.compiler}} -GNinja ninja - ctest sudo cmake --install . if: matrix.build-prometheus-from-source == 0