generate code docs with Doxygen #78
Workflow file for this run
This file contains 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 Checks | |
on: | |
pull_request: | |
paths: | |
- ".github/workflows/c-checks.yml" | |
- "c/**" | |
jobs: | |
build_and_test: | |
name: kuliya - latest | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Get Conan | |
uses: turtlebrowser/[email protected] | |
- name: Create default profile | |
run: conan profile detect --force | |
- name: Install dependencies | |
run: | | |
cd c | |
conan install . --output-folder=build --build=missing | |
- name: Set up build environment | |
run: | | |
cd c/build | |
sh conanbuild.sh | |
cmake .. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release | |
- name: Build and run build script | |
run: | | |
cd c/build | |
make build | |
cd .. | |
./build/build | |
- name: Build and run tests | |
run: | | |
cd c/build | |
make test | |
./test | |
- name: Build and run example | |
run: | | |
cd c/build | |
make example | |
./example |