Skip to content

Commit

Permalink
github-ci for c-test
Browse files Browse the repository at this point in the history
Signed-off-by: Anupam Ghosh <[email protected]>
  • Loading branch information
ag4ums committed Sep 1, 2021
1 parent 2e21602 commit 18b310a
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Copyright 2021 Anupam Ghosh <[email protected]>
# SPDX-License-Identifier: GPL-2.0 AND LGPL-2.

name: c tests

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
C-tests:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 50

- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y cppcheck
sudo ./utils/fo-installdeps -y -e
export PATH="/usr/lib/ccache/:$PATH"
- name: Unit tests
run: make all phpvendors test-lib test-monk test-nomos

0 comments on commit 18b310a

Please sign in to comment.