Skip to content

Commit

Permalink
buildsys: utilize GitHub action for testing with valgrind
Browse files Browse the repository at this point in the history
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
  • Loading branch information
masatake committed Jul 8, 2020
1 parent b4574f0 commit 3a058e2
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: C/C++ CI

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

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: install tools and libraries
run: sudo apt-get install valgrind pkg-config automake bash libjansson-dev libyaml-dev libseccomp-dev libxml2-dev gdb
- name: autogen.sh
run: ./autogen.sh
- name: configure
run: ./configure --enable-debugging
- name: make
run: make
- name: make units
run: make units VG=1

0 comments on commit 3a058e2

Please sign in to comment.