Skip to content

Commit aa719e8

Browse files
authored
Merge pull request #1149 from redboltz/fix_ci2
Fixed boost download URL.
2 parents 766c812 + 765de1f commit aa719e8

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/depends/boost.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ while getopts "b:t:p:" c; do
4949
done
5050

5151
mkdir $prefix || exit 1
52-
wget https://boostorg.jfrog.io/artifactory/main/release/1.85.0/source/boost_1_85_0.tar.bz2 || exit 1
52+
wget https://archives.boost.io/release/1.85.0/source/boost_1_85_0.tar.bz2 || exit 1
5353
tar xf boost_1_85_0.tar.bz2 || exit 1
5454
cd boost_1_85_0
5555
./bootstrap.sh || exit 1

.github/workflows/coverage.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,15 @@ jobs:
6363
cmake --build build --target all || exit 1
6464
ctest --test-dir build || exit 1
6565
66-
- name: Upload coverage to Codecov
66+
- name: Generate coverage
6767
working-directory: build
6868
run: |
6969
# Create lcov report
70-
lcov --capture --directory . --output-file coverage.info
70+
lcov --capture --directory . --output-file coverage.info --ignore-errors mismatch
7171
lcov --remove coverage.info '/usr/*' --output-file coverage.info # filter system-files
7272
lcov --list coverage.info # debug info
73-
# Uploading report to CodeCov
74-
bash <(curl -s https://codecov.io/bash) -f coverage.info || echo "Codecov did not collect coverage reports"
73+
- name: Upload coverage to Codecov
74+
uses: codecov/codecov-action@v3
75+
with:
76+
files: build/coverage.info
77+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)