Create ci.yml

This commit is contained in:
pantor
2019-09-08 15:50:38 +02:00
committed by GitHub
parent 04b5fa4979
commit 3705e3e23a
+24
View File
@@ -0,0 +1,24 @@
name: C++ CI
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install Dependencies
env:
dependency_packages: build-essential g++-5
run: apt-get update && apt-get -y install ${dependency_packages}
- name: Build
run: |
mkdir -p build && cd build
cmake ..
cmake --build . --config Release -- -j4
- name: Run Tests
run: ctest -C Release -V