Create ccpp.yml
parent
db74f35410
commit
4b1aaff0dc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue