Skip to content

ci_readability_check #8

ci_readability_check

ci_readability_check #8

name: ci_readability_check
on:
push:
branches:
- main
paths:
- "**.c"
- "**.cpp"
- "**.h"
- "**.hpp"
pull_request:
paths:
- "**.c"
- "**.cpp"
- "**.h"
- "**.hpp"
workflow_dispatch:
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
with:
python-version: '3.x'
- run: pip install meson ninja
- run: sudo apt-get install -y mesa-common-dev cmake
- run: meson setup builddir/
env:
CC: gcc
- run: ./scripts/check-readability.py builddir/
- uses: actions/upload-artifact@v3
if: failure()
with:
name: build.ninja
path: builddir/build.ninja
if-no-files-found: error
retention-days: 30