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

26 lines
635 B
YAML
Raw Normal View History

2022-01-21 20:54:25 +01:00
name: check
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install required libraries
2022-01-24 17:16:10 +01:00
run: >
sudo apt-get update && sudo apt-get install -y
python3 python3-pip python3-setuptools python3-wheel ninja-build meson
cmake make build-essential clang-tidy
libpam0g-dev libinih-dev libevdev-dev
python3-dev libopencv-dev
2022-01-21 20:54:25 +01:00
- uses: actions/checkout@v2
- name: Build
run: |
meson setup build src/pam
2022-01-21 21:36:08 +01:00
ninja -C build
2022-01-21 20:54:25 +01:00
- name: Check source code
run: |
ninja clang-tidy -C build