mirror of
https://github.com/theoludwig/libcproject.git
synced 2024-11-13 23:43:13 +01:00
32 lines
630 B
YAML
32 lines
630 B
YAML
name: 'CI'
|
|
|
|
on:
|
|
push:
|
|
branches: [develop]
|
|
pull_request:
|
|
branches: [master, develop]
|
|
|
|
jobs:
|
|
ci:
|
|
runs-on: 'ubuntu-latest'
|
|
steps:
|
|
- uses: 'actions/checkout@v3.0.0'
|
|
|
|
- name: 'Install Build Tools'
|
|
run: 'sudo apt-get install --yes build-essential gcc make clang-format'
|
|
|
|
- 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.0.0'
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- uses: 'wagoid/commitlint-github-action@v5.3.0'
|