Copy travis CI workflow to github (#192)
* Initial port of travis CI workflow to github * fix embedded github workflow * fix embedded github workflow * fix gcc and lint github workflow * fix gcc and lint github workflow * Remove appveyor and travis CI to reduce maintainence * fix lint CI workflow * restore appveyor CI * restore appveyor CI badge Co-authored-by: Steve Karg <skarg@users.sourceforge.net>
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
name: Lint
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Create Build Environment
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get install -qq clang-tools
|
||||
- name: Lint
|
||||
run: make clean lint
|
||||
|
||||
cppcheck:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Create Build Environment
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get install -qq cppcheck
|
||||
- name: cppcheck
|
||||
run: make clean cppcheck
|
||||
|
||||
|
||||
Reference in New Issue
Block a user