-
Notifications
You must be signed in to change notification settings - Fork 19
38 lines (28 loc) · 1.27 KB
/
dimecoinprotocol.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
name: 'Build & Check Dime Protocol(x86_64-linux-gnu): No QT & No Tests'
on: [push]
jobs:
build:
runs-on: ubuntu-22.04
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 autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils python3 libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libboost-dev libsqlite3-dev libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libqrencode-dev software-properties-common pandoc
- 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 -j4
- 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