Skip to content

Commit

Permalink
Add initial GitHub CI
Browse files Browse the repository at this point in the history
  • Loading branch information
certik committed Dec 21, 2019
1 parent bee64c5 commit 2941799
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CI

on: [push, pull_request]

jobs:
Linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: cmake
run: cmake .
- name: make
run: make
- name: test
run: ctest --output-on-failure

macOS:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: cmake
run: cmake .
- name: make
run: make
- name: test
run: ctest --output-on-failure

Windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: cmake
run: cmake -G "Visual Studio 16 2019" .
- name: make
run: cmake --build .
- name: test
run: ctest --output-on-failure

0 comments on commit 2941799

Please sign in to comment.