0
0
Fork 0
mirror of https://github.com/boltgolt/howdy.git synced 2024-09-19 09:51:19 +02:00

ci: add check workflow

This commit is contained in:
MusiKid 2022-01-21 20:54:25 +01:00 committed by musikid
parent 59cbabf734
commit 32a0809767
No known key found for this signature in database
GPG key ID: 7567D43648C6E2F4

23
.github/workflows/check.yml vendored Normal file
View file

@ -0,0 +1,23 @@
name: check
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install required libraries
run: sudo apt-get update && sudo apt-get install -y python devscripts dh-make debhelper fakeroot \
python3 python3-pip python3-setuptools python3-wheel \
ninja-build meson libpam0g-dev libboost-locale-dev \
python3-dev python3-setuptools libopencv-dev cmake make build-essential clang-extra-tools
- uses: actions/checkout@v2
- name: Build
run: |
meson setup build src/pam
meson compile -C build
- name: Check source code
run: |
ninja clang-tidy -C build