mirror of
https://github.com/boltgolt/howdy.git
synced 2024-09-12 09:41:18 +02:00
ci: add check workflow
This commit is contained in:
parent
59cbabf734
commit
32a0809767
1 changed files with 23 additions and 0 deletions
23
.github/workflows/check.yml
vendored
Normal file
23
.github/workflows/check.yml
vendored
Normal 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
|
Loading…
Reference in a new issue