From 1e294d7a12467ee52d45e644598309d4d833891a Mon Sep 17 00:00:00 2001 From: Takatoshi Kondo Date: Fri, 21 Feb 2025 17:58:30 +0900 Subject: [PATCH 1/3] Fixed boost download URL. --- .github/depends/boost.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/depends/boost.sh b/.github/depends/boost.sh index daa86995..7eeef8a3 100755 --- a/.github/depends/boost.sh +++ b/.github/depends/boost.sh @@ -49,7 +49,7 @@ while getopts "b:t:p:" c; do done mkdir $prefix || exit 1 -wget https://boostorg.jfrog.io/artifactory/main/release/1.85.0/source/boost_1_85_0.tar.bz2 || exit 1 +wget https://archives.boost.io/release/1.85.0/source/boost_1_85_0.tar.bz2 || exit 1 tar xf boost_1_85_0.tar.bz2 || exit 1 cd boost_1_85_0 ./bootstrap.sh || exit 1 From 876a09b8ce1146eb6e2daa372d82a4f282e3745d Mon Sep 17 00:00:00 2001 From: Takatoshi Kondo Date: Fri, 21 Feb 2025 18:13:05 +0900 Subject: [PATCH 2/3] Added ignore mismatch. --- .github/workflows/coverage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index bc5e994a..13029c62 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -67,7 +67,7 @@ jobs: working-directory: build run: | # Create lcov report - lcov --capture --directory . --output-file coverage.info + lcov --capture --directory . --output-file coverage.info --ignore-errors mismatch lcov --remove coverage.info '/usr/*' --output-file coverage.info # filter system-files lcov --list coverage.info # debug info # Uploading report to CodeCov From 765de1fd6dbf550581528bdfa30af71013d6c321 Mon Sep 17 00:00:00 2001 From: Takatoshi Kondo Date: Fri, 21 Feb 2025 18:53:04 +0900 Subject: [PATCH 3/3] Fixed coverage upload. --- .github/workflows/coverage.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 13029c62..38cf3263 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -63,12 +63,15 @@ jobs: cmake --build build --target all || exit 1 ctest --test-dir build || exit 1 - - name: Upload coverage to Codecov + - name: Generate coverage working-directory: build run: | # Create lcov report lcov --capture --directory . --output-file coverage.info --ignore-errors mismatch lcov --remove coverage.info '/usr/*' --output-file coverage.info # filter system-files lcov --list coverage.info # debug info - # Uploading report to CodeCov - bash <(curl -s https://codecov.io/bash) -f coverage.info || echo "Codecov did not collect coverage reports" + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v3 + with: + files: build/coverage.info + token: ${{ secrets.CODECOV_TOKEN }}