Skip to content

Ensure CC_ASSERT calls do not have side effects #40

Ensure CC_ASSERT calls do not have side effects

Ensure CC_ASSERT calls do not have side effects #40

Workflow file for this run

name: Build
on: [push, pull_request]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Install dependencies
run: sudo apt-get install doxygen
- name: Configure
shell: bash
run: |
cmake -E make_directory ${{github.workspace}}/build
cmake -B ${{github.workspace}}/build -S ${{github.workspace}} \
-DCMAKE_BUILD_TYPE=$BUILD_TYPE
- name: Build
shell: bash
run: |
cmake --build ${{github.workspace}}/build --target all install -j4
- name: Docs
shell: bash
run: |
cmake --build ${{github.workspace}}/build --target docs
- name: Test
shell: bash
run: |
cmake --build ${{github.workspace}}/build --target check