Merge commit '36675cc4a78d11decf6293f03841c08610ed5cdb' into update/s… #2100
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: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Build dPoW client "iguana" on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04, ubuntu-22.04] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install dependencies | |
run: | | |
sudo apt-get remove php* msodbcsql17 mysql* | |
sudo apt-get update && sudo apt-get upgrade -y | |
sudo apt-get install build-essential pkg-config cmake libsodium-dev libc6-dev m4 g++-multilib libtool libncurses-dev zlib1g-dev libssl-dev libprotobuf-dev protobuf-compiler libgtest-dev libdb++-dev ntp ntpdate software-properties-common libevent-dev curl libcurl4-gnutls-dev clang jq -y | |
- name: Install nanomsg | |
run: | | |
git clone https://github.com/nanomsg/nanomsg | |
cd nanomsg | |
cmake . -DNN_TESTS=OFF -DNN_ENABLE_DOC=OFF | |
make -j2 | |
sudo make install | |
sudo ldconfig | |
- name: Build dpow client "iguana" | |
run: cd iguana && make |