Commit 163194aa authored by Pavel Vainerman's avatar Pavel Vainerman Committed by Pavel Vainerman

[github actions]: added testsuite action

parent 1d8988a2
name: testsuite
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "*" ]
jobs:
build:
runs-on: ubuntu-latest
container:
image: alt:sisyphus
steps:
- uses: actions/checkout@v2
- name: install packages
run: |
apt-get update && apt-get -y install etersoft-build-utils git-core ccache gcc-c++ etersoft-build-utils catch-devel libcomedi-devel libmariadb-devel libpqxx-devel librrd-devel python-devel python-module-distribute
- name: configure
run: |
export CXXFLAGS='-pipe -O2 -pedantic -Wall'
# due broken comedi
export CXXFLAGS="$CXXFLAGS -Wl,--unresolved-symbols=ignore-in-shared-libs"
autoreconf -fiv
./configure --disable-mysql --enable-sqlite --enable-rrd --enable-io --disable-python --disable-mqtt --disable-pgsql --disable-netdata --disable-logdb
- name: make
run: jmake
- name: simple tests
run: |
cd testsuite;
make check
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment