Biflow aggregator - unique_count aggregation function #254
This file contains hidden or 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 and Checks | |
| on: | |
| push: | |
| branches: '*' | |
| pull_request: | |
| branches: '*' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get -y install git build-essential autoconf libtool libpcap-dev pkg-config libxml2-dev gawk libcurl4-openssl-dev libxml2-dev libyaml-dev make python3 python3-dev python3-pip python3-setuptools | |
| ( sudo pip3 install ply PyYAML pynspect; git clone --depth 1 https://github.com/CESNET/nemea-framework /tmp/nemea-framework; cd /tmp/nemea-framework; ./bootstrap.sh &&./configure --bindir=/usr/bin/nemea/ -q &&make -j10 && sudo make install; sudo ldconfig; (cd pytrap && sudo python3 setup.py install;); (cd pycommon && sudo pip3 install --upgrade MarkupSafe; sudo python3 setup.py install;); ) | |
| git submodule init && git submodule update | |
| - name: autoreconf | |
| run: autoreconf -i | |
| - name: configure | |
| run: ./configure | |
| - name: make | |
| run: make | |
| - name: make check | |
| run: | | |
| make check || true | |
| pwd | |
| cat biflow_aggregator/test-suite.log | |
| - name: make distcheck | |
| run: | | |
| make distcheck || true | |
| pwd | |
| cat nemea-modules-2.26.0/_build/sub/biflow_aggregator/test-suite.log || echo "Log not found" | |
| - name: configure with debug | |
| run: ./configure --enable-debug CXXFLAGS=-coverage CFLAGS=-coverage LDFLAGS=-lgcov | |
| - name: rebuild and check | |
| run: | | |
| make clean | |
| make check || true | |
| cat biflow_aggregator/test-suite.log | |
| - uses: codecov/codecov-action@v1 | |
| with: | |
| flags: tests # optional | |
| name: nemea-modules # optional | |
| fail_ci_if_error: true # optional (default = false) | |
| verbose: true # optional (default = false) | |