Use new vcpkg libffi dll name ffi-8.dll (#1237) #18
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: "Linux Build" | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install autopoint build-essential libdbi-dev libtool-bin tcl-dev lua5.1 liblua5.1-0-dev valgrind dc python3-pip python3-setuptools libpango1.0-dev ghostscript gettext | |
sudo pip install cpp-coveralls | |
- name: Build | |
run: | | |
V=$(cat VERSION) | |
./bootstrap | |
./configure --prefix=/opt/rrdtool-master | |
make | |
sudo make install | |
/opt/rrdtool-master/bin/rrdtool | |
/opt/rrdtool-master/share/rrdtool/examples/4charts.pl | |
- name: Run Checks | |
run: | | |
make check | |
- name: Test bindings | |
run: | | |
(cd bindings/perl-shared && make test) | |
(cd bindings/python && sudo chown -R $USER . && python setup.py test) | |
- name: Run "rrdcached-tcp" | |
run: | | |
make check TESTS_STYLE="rrdcached-tcp" | |
- name: Run "rrdcached-udp" | |
run: | | |
make check TESTS_STYLE="rrdcached-unix" | |
- name: Run valgrind | |
run: | | |
make check TESTS_STYLE="valgrind-logfile" TESTS="modify1 modify2 modify3 modify4 modify5 tune1 tune2 graph1 rrdcreate dump-restore create-with-source-1 create-with-source-2 create-with-source-3 create-with-source-4 create-with-source-and-mapping-1 create-from-template-1 dcounter1 vformatter1 list1 pdp-calc1" | |
podchecker doc/*.pod | |
- name: Dist and Re-Build Test | |
run: | | |
V=$(cat VERSION) | |
make dist | |
tar xf rrdtool-$V.tar.gz | |
cd rrdtool-$V | |
./configure | |
make | |
sudo make install | |
cd /opt/rrdtool-$V | |
bin/rrdtool | |