forked from DigiByte-Core/digibyte
-
Notifications
You must be signed in to change notification settings - Fork 2
44 lines (32 loc) · 1.35 KB
/
ci-coverage-ubuntu-no-tests-no-qt.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
name: 'Build & Check: No QT & No Tests'
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
os: [x86_64-linux-gnu]
steps:
- uses: actions/checkout@v2
- name: Get Dependencies
run: sudo apt update && sudo apt-get install build-essential libtool libssl-dev autotools-dev automake pkg-config bsdmainutils python3 libevent-dev libboost-dev libboost-system-dev libboost-filesystem-dev libboost-test-dev libsqlite3-dev libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libqrencode-dev software-properties-common pandoc
- name: Install pypandoc
run: pip3 install pypandoc
- name: Install scrypt for Python3
run: pip3 install digibyte_scrypt
- name: Install BerkleyDB
run: ./contrib/install_db4.sh `pwd` --enable-cxx
- name: Auto Generate
run: ./autogen.sh
- name: Configure
run: export BDB_PREFIX="${PWD}/db4" && ./configure BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" BDB_CFLAGS="-I${BDB_PREFIX}/include" --without-gui --disable-tests
- name: Make
run: make -j3
- name: Make Check
run: make check
- name: Upload Test Suite Log
uses: actions/upload-artifact@v3
if: failure()
with:
name: test-suite-log
path: /src/test-suite.log