Create ccpp.yml

This commit is contained in:
Kim Kulling
2020-03-21 10:59:32 +01:00
committed by GitHub
parent db74f35410
commit 4b1aaff0dc

22
.github/workflows/ccpp.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: C/C++ CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: configure
run: cmake CMakeLists.txt
- name: build
run: cmake --build .
- name: test
run: cd bin && ./unit