Skip to content

README: expand summary and offer timeout suggestions for osp3-poll #31

README: expand summary and offer timeout suggestions for osp3-poll

README: expand summary and offer timeout suggestions for osp3-poll #31

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- "**"
pull_request:
branches:
- "**"
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
name: ${{ matrix.os }} Test
steps:
- uses: actions/checkout@v3
- name: Build
run: |
export CFLAGS="-D_FORTIFY_SOURCE=2 -fstack-protector -pedantic -Wall -Wextra -Wbad-function-cast -Wcast-align \
-Wcast-qual -Wdisabled-optimization -Wendif-labels -Wfloat-conversion -Wfloat-equal -Wformat=2 -Wformat-nonliteral \
-Winline -Wmissing-declarations -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow \
-Wsign-conversion -Wstrict-prototypes -Wstack-protector -Wundef -Wwrite-strings -Werror"
cmake -DCMAKE_C_FLAGS="$CFLAGS" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=install -S . -B build
cmake --build build/ -v
ctest --test-dir build/ -VV
cmake --build build/ --target install