xaizek / uncov (License: AGPLv3+) (since 2018-12-07)
Uncov(er) is a tool that collects and processes code coverage reports.
Commit 3746004b29c8ae4b82463ddb69fc069695f87e81

Build using 75% of cores in pre/post commit hooks
Author: xaizek
Author date (UTC): 2022-04-06 16:32
Committer name: xaizek
Committer date (UTC): 2022-04-06 16:32
Parent(s): 74d9cea78e26788e0d6b4a90d162756e082444df
Signing key: 99DC5E4DB05F6BE2
Tree: d1f7cc050994c4dd74ff5eae7303ef21a1472299
File Lines added Lines deleted
scripts/git-hook-post-commit 1 1
scripts/git-hook-pre-commit 1 1
File scripts/git-hook-post-commit changed (mode: 100755) (index 9af7dff..aa52103)
... ... if [ -n "$DIRTY" ]; then
40 40 trap pop_stashed EXIT trap pop_stashed EXIT
41 41 fi fi
42 42
43 nice ionice make --jobs 6 coverage
43 nice ionice make --jobs $(( `nproc` * 3 / 4 )) coverage
44 44 RESULT="$?" RESULT="$?"
45 45
46 46 # stashed changes (if any) are automatically restored by EXIT trap handler # stashed changes (if any) are automatically restored by EXIT trap handler
File scripts/git-hook-pre-commit changed (mode: 100755) (index 1515b3c..3a51e27)
... ... if ! git diff --quiet HEAD; then
97 97 # run build using staged changes only # run build using staged changes only
98 98 # use release build as with its optimization level compiler is able to issue # use release build as with its optimization level compiler is able to issue
99 99 # more warnings # more warnings
100 nice ionice make --jobs 6 check release
100 nice ionice make --jobs $(( `nproc` * 3 / 4 )) check release
101 101 RESULT="$?" RESULT="$?"
102 102 else else
103 103 RESULT="0" RESULT="0"
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/uncov

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/uncov

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master