Add GitHub actions (#2535)

* Initial version of GitHub actions script: compile cppcheck and "make check" on ubuntu
This commit is contained in:
amai2012 2020-02-13 09:16:53 +01:00 committed by GitHub
parent 1b66820cdb
commit c472322aad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

20
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,20 @@
# Syntax reference https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions
# Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: |
make -j2
- name: Test
run: |
make -j2 check