Skip to content

Add cmocka only if tests had been enabled #741

Add cmocka only if tests had been enabled

Add cmocka only if tests had been enabled #741

name: Ubuntu-CI
'on':
- push
- pull_request
permissions:
contents: read
jobs:
ci:
name: ubuntu-gcc
runs-on: ubuntu-latest
env:
CC: gcc
CXX: g++
steps:
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- name: Build and Test
run: |
mkdir build
cd build
cmake -DCMAKE_CXX_FLAGS=-fno-exceptions -DROARING_EXCEPTIONS=OFF ..
cmake --build .
ctest . --output-on-failure