Skip to content

fix: Make it possible again to compile cmp.c as C++. #32

fix: Make it possible again to compile cmp.c as C++.

fix: Make it possible again to compile cmp.c as C++. #32

Workflow file for this run

name: ci
on:
pull_request:
branches: [master]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get install -y --no-install-recommends libcmocka-dev
- name: Build library
run: make -j4
- name: Build test programs
run: make testprogs
- name: Run tests
run: make test
- name: Compile as C++
run: g++ -fsyntax-only -xc++ cmp.c