Skip to content

Commit

Permalink
Setup GitHub action for CI (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsamseth committed Sep 25, 2019
1 parent a2afbb8 commit c99cb9f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ccpp.yml
@@ -0,0 +1,21 @@
name: C/C++ CI

on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Checkout submodules
uses: textbook/git-checkout-submodule-action@2.0.0
- name: cmake
run: |
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
- name: make
run: cd build && make
- name: test
run: cd build && make gtest

0 comments on commit c99cb9f

Please sign in to comment.