Interpret fee rates in reference fee unit #174
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
- dev | |
pull_request: | |
branches: | |
- master | |
- dev | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install ccache build-essential libtool autotools-dev automake pkg-config bsdmainutils python3 libevent-dev libboost-dev | |
wget -O - "https://apt.llvm.org/llvm.sh" | sudo bash -s 15 | |
sudo /usr/sbin/update-ccache-symlinks | |
echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc | |
source ~/.bashrc | |
- name: Build | |
env: | |
BDB_PREFIX: '/home/runner/work/SEQ-Core-Elements/SEQ-Core-Elements/db4' | |
BDB_LIBS: '-L${BDB_PREFIX}/lib -ldb_cxx-4.8' | |
BDB_CFLAGS: '-I${BDB_PREFIX}/include' | |
CC: clang-15 | |
CXX: clang++-15 | |
run: | | |
./autogen.sh | |
./contrib/install_db4.sh . | |
./configure --disable-bench --without-gui --without-natpmp --without-miniupnpc | |
make clean | |
make -j$(nproc) | |
- name: Run tests | |
run: | | |
echo "Running tests" | |
./test/functional/test_runner.py --ci -j$(nproc) --failfast | |
- name: Publish artifact - linux | |
uses: actions/upload-artifact@v4 | |
with: | |
name: sequentia-linux | |
path: | | |
src/elementsd | |
src/elements-cli | |
src/elements-tx | |
src/elements-util | |
src/elements-wallet |