File tree Expand file tree Collapse file tree 2 files changed +49
-5
lines changed Expand file tree Collapse file tree 2 files changed +49
-5
lines changed Original file line number Diff line number Diff line change @@ -3,11 +3,13 @@ name: Sequentia Core CI
3
3
on :
4
4
workflow_dispatch :
5
5
push :
6
- branches : [ master ]
6
+ branches :
7
+ - master
8
+ - dev
7
9
pull_request :
8
10
branches :
9
11
- master
10
- - feature/*
12
+ - dev
11
13
12
14
jobs :
13
15
build :
@@ -22,10 +24,22 @@ jobs:
22
24
sudo apt-get install ccache build-essential libtool autotools-dev automake pkg-config bsdmainutils python3 libevent-dev libboost-dev
23
25
wget -O - "https://apt.llvm.org/llvm.sh" | sudo bash -s 15
24
26
sudo /usr/sbin/update-ccache-symlinks
25
-
27
+ echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc
28
+ source ~/.bashrc
29
+
26
30
- name : Build
31
+ env :
32
+ BDB_PREFIX : ' /home/runner/work/SEQ-Core-Elements/SEQ-Core-Elements/db4'
33
+ BDB_LIBS : ' -L${BDB_PREFIX}/lib -ldb_cxx-4.8'
34
+ BDB_CFLAGS : ' -I${BDB_PREFIX}/include'
35
+ CC : clang-15
36
+ CXX : clang++-15
27
37
run : |
28
- ./autogen.sh && CC=clang-15 CXX=clang++-15 ./configure --disable-bench --without-gui --without-natpmp --without-miniupnpc && make clean && make -j $(nproc)
38
+ ./autogen.sh
39
+ ./contrib/install_db4.sh .
40
+ ./configure --disable-bench --without-gui --without-natpmp --without-miniupnpc
41
+ make clean
42
+ make -j$(nproc)
29
43
30
44
- name : Publish artifact - linux
31
45
uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -5,7 +5,37 @@ https://sequentia.io/
5
5
6
6
Sequentia is a Bitcoin sidechain dedicated to asset tokenization and decentralized exchanges.
7
7
8
- Based on Elements Version: 23.2.1
8
+ Current code is based on Elements Version: 23.2.1
9
+
10
+ Quick Ubuntu build instructions for development:
11
+ -----
12
+
13
+ Instal build tools
14
+ ``` bash
15
+ sudo apt install ccache build-essential libtool autotools-dev automake pkg-config bsdmainutils python3 libevent-dev libboost-dev
16
+ ```
17
+ Install clang 15:
18
+ ``` bash
19
+ wget -O - " https://apt.llvm.org/llvm.sh" | sudo bash -s 15
20
+ ```
21
+ Setup ccache:
22
+ ``` bash
23
+ sudo /usr/sbin/update-ccache-symlinks
24
+ echo ' export PATH="/usr/lib/ccache:$PATH"' | tee -a ~ /.bashrc
25
+ source ~ /.bashrc
26
+ ```
27
+ Build:
28
+ ``` bash
29
+ ./autogen.sh
30
+ ./contrib/install_db4.sh .
31
+ export CC=clang-15 CXX=clang++-15 BDB_LIBS=" -L${BDB_PREFIX} /lib -ldb_cxx-4.8" BDB_CFLAGS=" -I${BDB_PREFIX} /include"
32
+ ./configure --without-gui --without-natpmp --without-miniupnpc
33
+ make -j$( nproc)
34
+ ```
35
+ To speed up the build if not necessary, disable bench and tests in configure:
36
+ ``` bash
37
+ ./configure --without-gui --without-natpmp --without-miniupnpc --disable-bench --disable-tests
38
+ ```
9
39
10
40
Modes
11
41
-----
You can’t perform that action at this time.
0 commit comments