Skip to content

Commit

Permalink
Adds github action test to compile the project and run cppcheck on it.
Browse files Browse the repository at this point in the history
  • Loading branch information
Xav83 committed Sep 19, 2019
1 parent 12319e7 commit 910a7d2
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: C++ CI

on: [push]

jobs:
build:

runs-on: windows-2016

steps:
- uses: actions/checkout@v1
- name: Installing dependency
run: |
choco install cppcheck --version 1.87
choco install conan --version 1.11.1
- name: Creating Build folder
run: mkdir build
- name: Build Cppcheck for "JSON for Modern c++"
run: |
cd build
cmake .. -G "Visual Studio 15 2017" && cmake --build .

0 comments on commit 910a7d2

Please sign in to comment.