add check tests in CI
Some checks failed
Clang-format Check / clang-format-check (push) Successful in 17s
Tests Check / clang-format-check (push) Failing after 12s

This commit is contained in:
Timofey Khoruzhii 2023-05-09 01:38:52 +03:00
parent 9834cf509d
commit d9dcc44dec

View file

@ -0,0 +1,25 @@
name: Tests Check
on: [push]
jobs:
clang-format-check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install g++
run: |
apt-get update -y
apt-get upgrade -y
apt-get install -y g++ cmake make
- name: Check code formatting
run: |
mkdir build
cd build
cmake ..
cmake --build .
make test