Skip to content

Don't insist on getting a DBus address via env #42

Don't insist on getting a DBus address via env

Don't insist on getting a DBus address via env #42

Workflow file for this run

name: Build conntrack-migrator
on:
pull_request
jobs:
build_test-ubuntu:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt install -y gcc libglib2.0-dev libmnl-dev libnetfilter-conntrack-dev check dbus
- name: Build
run: |
make all
- name: Unit tests
run: sudo make check # Since some of the tests require cap_net_admin
# hence running the tests as sudo.
build-centos-7:
timeout-minutes: 10
runs-on: ubuntu-latest
container: centos:7
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
yum install -y make gcc-4.8.5 glib2-devel libmnl-devel libnetfilter_conntrack-devel check dbus
- name: Build
run: |
make all
# since github actions does not allow to set capability cap_net_admin
# to container, skipping tests on centos-7.