Skip to content

Build Jittertrap

Build Jittertrap #23

Workflow file for this run

name: Build Jittertrap
on:
push:
branches:
- master
- release/*
pull_request:
branches:
- master
schedule:
- cron: "0 2 * * 1"
workflow_dispatch:
jobs:
build_and_test:
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, ubuntu-20.04]
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Install Build Dependencies
run: |
sudo apt-get update
sudo apt-get install libnl-3-dev libnl-route-3-dev libnl-genl-3-dev libjansson-dev libwebsockets-dev libncurses5-dev libpcap-dev pkgconf lcov
- name: make
run: make
- name: Run tests
run: sudo make test
- name: Upload coverage to Code Climate
uses: paambaati/codeclimate-action@v5.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CODECLIMATE_REPORTER_ID }}
with:
coverageCommand: make coverage
coverageLocations: ${{github.workspace}}/*.lcov:lcov