Skip to content

Update c-cpp.yml

Update c-cpp.yml #1

Workflow file for this run

name: C/C++ CI
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "*" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Clone the dependency repo (replace URL and branch/tag)
- name: Clone dependency library
run: |
git clone --depth 1 --branch release/0.1.0 https://github.com/robert-burger/libosal.git deps/libosal
# Optional: build or install the dependency if needed
- name: Build dependency library
run: |
cd deps/libosal
mkdir build && cd build
cmake ..
make
sudo make install # if needed to install globally
- name: configure
run: ./configure
- name: make
run: make
- name: make check
run: make check
- name: make distcheck
run: make distcheck