2023-10-23 23:02:29 +02:00
|
|
|
name: "CI"
|
2023-01-05 21:13:10 +01:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [develop]
|
|
|
|
pull_request:
|
|
|
|
branches: [master, develop]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
ci:
|
2023-10-23 23:02:29 +02:00
|
|
|
runs-on: "ubuntu-latest"
|
2023-01-05 21:13:10 +01:00
|
|
|
steps:
|
2023-10-23 23:02:29 +02:00
|
|
|
- uses: "actions/checkout@v3.5.3"
|
2023-01-05 21:13:10 +01:00
|
|
|
|
2023-10-23 23:02:29 +02:00
|
|
|
- run: "sudo apt update"
|
2023-08-05 15:03:53 +02:00
|
|
|
|
2023-10-23 23:02:29 +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
|
|
|
|
2023-10-23 23:02:29 +02:00
|
|
|
- name: "Install Documentation Tools"
|
|
|
|
run: "sudo apt install --yes doxygen doxygen-gui doxygen-doc graphviz"
|
2023-06-25 21:39:53 +02:00
|
|
|
|
2023-10-23 23:02:29 +02:00
|
|
|
- run: "gcc --version"
|
2023-06-24 21:09:19 +02:00
|
|
|
|
2023-10-23 23:02:29 +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:
|
2023-10-23 23:02:29 +02:00
|
|
|
runs-on: "ubuntu-latest"
|
|
|
|
steps:
|
|
|
|
- uses: "actions/checkout@v3.5.3"
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2023-01-06 14:40:15 +01:00
|
|
|
|
2023-10-23 23:02:29 +02:00
|
|
|
- uses: "wagoid/commitlint-github-action@v5.4.1"
|