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

41 lines
864 B
YAML
Raw Normal View History

name: "CI"
2023-01-05 21:13:10 +01:00
on:
push:
branches: [develop]
pull_request:
2024-09-15 18:39:10 +02:00
branches: [main, develop]
2023-01-05 21:13:10 +01:00
jobs:
ci:
runs-on: "ubuntu-latest"
2023-01-05 21:13:10 +01:00
steps:
2024-09-15 18:38:21 +02:00
- uses: "actions/checkout@v4.1.7"
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:
2024-09-15 18:38:21 +02:00
- uses: "actions/checkout@v4.1.7"
with:
fetch-depth: 0
2023-01-06 14:40:15 +01:00
2024-09-15 18:38:21 +02:00
- uses: "wagoid/commitlint-github-action@v6.1.2"