Update c-cpp.yml #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |