forked from cryptonotefoundation/cryptonote
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.appveyor.yml
46 lines (45 loc) · 1.58 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
version: 1.0.{build}
image:
- Visual Studio 2017
- ubuntu2004
- ubuntu1804
# - macos
platform:
- x64
install:
- cmd: set QTDIR=C:\Qt\5.11\msvc2017_64
- cmd: set BOOST_ROOT=C:\Libraries\boost_1_67_0
- cmd: set PATH=%PATH%;%QTDIR%\bin
- sh: sudo apt update && sudo apt install -y build-essential curl cmake libboost-all-dev libssl-dev libsodium-dev lcov git mercurial
build_script:
- sh: mkdir -p build && cd build && cmake .. && make && cmake .. -DCMAKE_BUILD_TYPE=Debug -DENABLE_GCOV=1 && make
for:
-
matrix:
only:
- image: Visual Studio 2017
build:
project: $(APPVEYOR_BUILD_FOLDER)\build\vigcoin.sln
before_build:
- mkdir build
- cd build
- cmake -G "Visual Studio 15 2017 Win64" ..
- dir
test_script:
- ctest --verbose
-
matrix:
only:
- image: ubuntu
test_script:
- env CTEST_OUTPUT_ON_FAILURE=1 make test
- lcov --capture --directory src --output-file temp.info && lcov --remove temp.info "/usr/include/*" "*/google/*" "*/include/*" "*/tests/*" > coverage.info && lcov --list coverage.info
- bash <(curl -s https://codecov.io/bash) -t 2a2cf36f-81d6-43b9-abba-d5955cb0cafe --root src
-
matrix:
only:
- image: ubuntu
test_script:
- env CTEST_OUTPUT_ON_FAILURE=1 make test
- lcov --capture --directory src --output-file temp.info && lcov --remove temp.info "/usr/include/*" "*/google/*" "*/include/*" "*/tests/*" > coverage.info && lcov --list coverage.info
- bash <(curl -s https://codecov.io/bash) -t 2a2cf36f-81d6-43b9-abba-d5955cb0cafe --root src