Skip to content

fix: add <cstddef> header to fix missing size_t declaration #94

fix: add <cstddef> header to fix missing size_t declaration

fix: add <cstddef> header to fix missing size_t declaration #94

Workflow file for this run

name: C/C++ CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-gcc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: fetch submodules
run: git submodule init && git submodule update
- name: build the app
run: mkdir build && cd build && cmake .. && cmake --build .
- name: run the tests
run: ctest --test-dir build/tests -V
build-clang:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install packages
run: sudo apt-get install -y clang-12 clang++-12
- name: fetch submodules
run: git submodule init && git submodule update
- name: build the app
run: mkdir build && cd build && export CXX=clang++-12 && export CC=clang-12 && cmake .. && cmake --build .
- name: run the tests
run: ctest --test-dir build/tests -V