Skip to content

readme: Add OpenSSF Best Practices badge #166

readme: Add OpenSSF Best Practices badge

readme: Add OpenSSF Best Practices badge #166

Workflow file for this run

name: Compilation only checks
on: [push, pull_request]
jobs:
standards:
runs-on: ubuntu-24.04
strategy:
matrix:
compiler: ["clang-18", "gcc-13"]
c_standard: ["99", "11"]
c_extensions: ["ON", "OFF"]
steps:
- name: Checkout code including full history and submodules
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Install dependencies from APT repository
run: |
sudo apt-get update
sudo apt-get install cmake libcunit1-dev ninja-build unzip wget
- name: Build all binaries
run: |
tools/ci/run_ci.sh \
--run-build \
--c-standard ${{ matrix.c_standard }} \
--c-extensions ${{ matrix.c_extensions }}
env:
CC: ${{ matrix.compiler }}
standalone-examples:
runs-on: ubuntu-24.04
strategy:
matrix:
example: ["bootstrap_server", "client", "lightclient", "server"]
steps:
- name: Checkout code including full history and submodules
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Install dependencies from APT repository
run: |
sudo apt-get update
sudo apt-get install cmake libcunit1-dev ninja-build unzip wget
- name: Build examples as stand-alone projects
run: |
tools/ci/run_ci.sh \
--run-clean \
--run-build \
--source-directory examples/${{ matrix.example }} \
--build-directory wakaama-build-${{ matrix.example }}