From a0b7dbb92f631e212730227cf5ed49185ffa82ee Mon Sep 17 00:00:00 2001 From: Krishna Vedala <7001608+kvedala@users.noreply.github.com> Date: Tue, 7 Apr 2020 22:07:29 -0400 Subject: [PATCH] Create ccpp.yml make workflow --- .github/workflows/ccpp.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/ccpp.yml diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml new file mode 100644 index 00000000..900c3402 --- /dev/null +++ b/.github/workflows/ccpp.yml @@ -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 . +