1
1
mirror of https://github.com/theoludwig/libcproject.git synced 2024-11-09 22:08:40 +01:00
libcproject/.github/workflows/ci.yml

41 lines
866 B
YAML
Raw Normal View History

name: "CI"
2023-01-05 21:13:10 +01:00
on:
push:
branches: [develop]
pull_request:
branches: [master, develop]
jobs:
ci:
runs-on: "ubuntu-latest"
2023-01-05 21:13:10 +01:00
steps:
- uses: "actions/checkout@v3.5.3"
2023-01-05 21:13:10 +01:00
- run: "sudo apt update"
2023-08-05 15:03:53 +02:00
- name: "Install Build Tools"
run: "sudo apt install --yes build-essential gcc make clang-format"
2023-01-05 21:13:10 +01:00
- name: "Install Documentation Tools"
run: "sudo apt install --yes doxygen doxygen-gui doxygen-doc graphviz"
2023-06-25 21:39:53 +02:00
- run: "gcc --version"
2023-06-24 21:09:19 +02:00
- run: "make"
- run: "make run"
- run: "make test"
- run: "make lint"
- run: "make documentation"
- run: "make set_version"
- run: "make clean"
2023-01-06 14:40:15 +01:00
lint-commit:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3.5.3"
with:
fetch-depth: 0
2023-01-06 14:40:15 +01:00
- uses: "wagoid/commitlint-github-action@v5.4.1"