Create ccpp.yml

make workflow
This commit is contained in:
Krishna Vedala 2020-04-07 22:07:29 -04:00 committed by GitHub
parent 44561cf3b5
commit a0b7dbb92f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -0,0 +1,26 @@
name: C/C++ CI
on: [push]
# push:
# branches: [ master ]
# pull_request:
# branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v2
- name: build directory
run: cmake -E make_directory ${{runner.workspace}}/build
- name: configure
working-directory: ${{ runner.workspace }}/build
run: cmake .
- name: build
run: cmake --build .