diff --git a/.gitea/workflows/check-tests.yml b/.gitea/workflows/check-tests.yml new file mode 100644 index 0000000..8bb8f85 --- /dev/null +++ b/.gitea/workflows/check-tests.yml @@ -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