Skip to content

Expose nb bytes read, add actions #3

Expose nb bytes read, add actions

Expose nb bytes read, add actions #3

Workflow file for this run

---
name: "CITests"
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
citests:
name: CI-Tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
submodules: 'recursive'
- name: Run cmake
run: |
CXXFLAGS="-Wall -Wextra -Wpedantic -Werror -g"
CFLAGS="-Wall -Wextra -Wpedantic -Werror -g"
cmake .
make -j 4
- name: Perform Unit Tests
run: |
./cdnstest
- name: Run Valgrind
run: |
sudo apt-get update
sudo apt-get install -y valgrind
valgrind -v --error-exitcode=1 --track-origins=yes ./cdnstest