1
1
mirror of https://github.com/theoludwig/libcproject.git synced 2024-09-19 13:25:53 +02:00
libcproject/.github/workflows/ci.yml

34 lines
660 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'
- name: 'Install Build Tools'
run: 'sudo apt-get install --yes build-essential gcc make clang-format'
- run: 'gcc --version'
- run: 'make'
- run: 'make run'
- run: 'make test'
- run: 'make lint'
- 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'