Remove system timer #16
Workflow file for this run
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: C++ Tests; Full Static Analysis | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- 'cpp/**' | |
- 'python/**' | |
- '.github/workflows/cpp.yml' | |
pull_request: | |
paths: | |
- 'cpp/**' | |
- 'python/**' | |
- '.github/workflows/cpp.yml' | |
branches: | |
- 'develop' | |
- 'main' | |
env: | |
APT_PACKAGES: libspdlog-dev libpcap-dev protobuf-compiler libgtest-dev libgmock-dev | |
jobs: | |
unit_tests: | |
runs-on: ubuntu-22.04 | |
defaults: | |
run: | |
working-directory: cpp | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: sudo apt-get install ${{ env.APT_PACKAGES }} | |
- name: Build unit tests | |
run: make -j $(nproc) test |