-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Anders Dalskov
committed
May 27, 2024
1 parent
d1c5151
commit 258457b
Showing
198 changed files
with
11,743 additions
and
10,912 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Coverage | ||
|
||
on: | ||
push: | ||
branches: | ||
- '*' | ||
- '!master' | ||
|
||
jobs: | ||
coverage: | ||
name: coverage | ||
runs-on: ubuntu-24.04 | ||
env: | ||
COV_THRESHOLD_LINES: 95 | ||
COV_THRESHOLD_FUNCS: 90 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Setup | ||
shell: bash | ||
run: sudo apt-get install -y lcov | ||
|
||
- name: Build | ||
shell: bash | ||
run: | | ||
cmake . -B build -DSCL_BUILD_TEST_WITH_COVERAGE=ON -DSCL_BUILD_DOCUMENTATION=OFF | ||
cmake --build build | ||
- name: Compute coverage | ||
shell: bash | ||
run: cmake --build build --target coverage | tee cov.txt | ||
|
||
- name: Check coverage | ||
shell: bash | ||
run: ./scripts/check_coverage.sh cov.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Documentation | ||
|
||
on: | ||
push: | ||
branches: | ||
- '*' | ||
- '!master' | ||
|
||
jobs: | ||
documentation: | ||
name: documentation | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Cache doxygen | ||
id: cache-doxygen | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/doxygen | ||
key: ${{ runner.os }}-doxygen | ||
|
||
- name: Install doxygen | ||
if: ${{ steps.cache-doxygen.outputs.cache-hit != 'true' }} | ||
run: | | ||
curl https://www.doxygen.nl/files/doxygen-1.10.0.linux.bin.tar.gz -o doxygen.tar.gz | ||
mkdir ~/doxygen | ||
tar xf doxygen.tar.gz -C ~/doxygen --strip-components=1 | ||
- name: Generate documentation | ||
shell: bash | ||
run: | | ||
cmake . -B build -DSCL_BUILD_TESTS=OFF -DSCL_DOXYGEN_BIN=$HOME/doxygen/bin/doxygen | ||
cmake --build build --target documentation |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.