1
1
mirror of https://github.com/theoludwig/libcproject.git synced 2024-11-14 16:03:13 +01:00
libcproject/.github/workflows/ci.yml

41 lines
878 B
YAML

name: 'CI'
on:
push:
branches: [develop]
pull_request:
branches: [master, develop]
jobs:
ci:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v3.5.3'
- run: 'sudo apt update'
- name: 'Install Build Tools'
run: 'sudo apt install --yes build-essential gcc make clang-format'
- name: 'Install Documentation Tools'
run: 'sudo apt install --yes doxygen doxygen-gui doxygen-doc graphviz'
- run: 'gcc --version'
- run: 'make'
- run: 'make run'
- run: 'make test'
- run: 'make lint'
- run: 'make documentation'
- run: 'make set_version'
- run: 'make clean'
lint-commit:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v3.5.3'
with:
fetch-depth: 0
- uses: 'wagoid/commitlint-github-action@v5.4.1'