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

Add AppVeyor configuration
Author: xaizek
Author date (UTC): 2021-12-02 11:50
Committer name: xaizek
Committer date (UTC): 2021-12-12 23:39
Parent(s): 3dbcc07df00245198e75a998a4a8ff0619c0fc9b
Signing key: 99DC5E4DB05F6BE2
Tree: 53b24e274b9d59f37f2c4bcb375b0ce9a82af4b9
File Lines added Lines deleted
scripts/appveyor/config.yml 34 0
scripts/appveyor/macos.sh 12 0
scripts/appveyor/ubuntu.sh 16 0
File scripts/appveyor/config.yml added (mode: 100644) (index 0000000..7ead8d4)
1 version: "{build}"
2 clone_depth: 1
3
4 # "Ubuntu" (18.04) image fails with:
5 #
6 # new-gcovi invokes gcov
7 # ------------------------------------------------------------------------------
8 # tests/sub_commands.cpp:1018
9 # ..............................................................................
10 #
11 # tests/sub_commands.cpp:1048: FAILED:
12 # CHECK( build->getCoveredCount() > 0 )
13 # with expansion:
14 # 0 > 0
15 #
16 # Why?
17
18 environment:
19 matrix:
20 - BUILDENV: ubuntu
21 CC: ccache clang
22 APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
23 - BUILDENV: ubuntu
24 CC: ccache gcc
25 APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
26 - BUILDENV: macos
27 CC: ccache clang
28 APPVEYOR_BUILD_WORKER_IMAGE: macOS
29
30 cache:
31 - $HOME/.ccache
32
33 build_script:
34 - scripts/appveyor/$BUILDENV.sh
File scripts/appveyor/macos.sh added (mode: 100755) (index 0000000..a52bb9e)
1 #!/bin/bash
2
3 set -xe
4
5 brew install boost ccache source-highlight libgit2
6
7 # retards at Apple symlink `llvm-cov` as `gcov` breaking things
8 echo "TESTS := '~[new-gcovi-subcommand]'" > config.mk
9
10 # at least brew lacks tntnet
11 make -j4 NO-WEB=y
12 make -j4 check NO-WEB=y
File scripts/appveyor/ubuntu.sh added (mode: 100755) (index 0000000..539851d)
1 #!/bin/bash
2
3 set -xe
4
5 sudo apt install -y libboost-filesystem-dev \
6 libboost-iostreams-dev \
7 libboost-program-options-dev \
8 libboost-system-dev \
9 libgit2-dev \
10 libsource-highlight-dev \
11 libsqlite3-dev \
12 libtntnet-dev \
13 ccache
14
15 make -j4
16 make -j4 check
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