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

29 lines
698 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
2023-06-25 14:16:47 +02:00
python3 python3-pip python3-setuptools python3-wheel
2022-01-24 17:16:10 +01:00
cmake make build-essential clang-tidy
libpam0g-dev libinih-dev libevdev-dev
python3-dev libopencv-dev
2023-06-25 14:16:47 +02:00
- name: Install meson
run: sudo python3 -m pip install meson ninja
2022-01-21 20:54:25 +01:00
- uses: actions/checkout@v2
- name: Build
run: |
2023-06-26 17:40:19 +02:00
meson setup build
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