From 59a6db23cd530ab6ca04baf850febf2091390764 Mon Sep 17 00:00:00 2001 From: Krishna Vedala Date: Tue, 26 May 2020 00:41:57 -0400 Subject: [PATCH] added CPP compile action --- .github/workflows/ccpp.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 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 000000000..7eff58053 --- /dev/null +++ b/.github/workflows/ccpp.yml @@ -0,0 +1,27 @@ +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@master + with: + submodules: true + - name: Install requirements + run: sudo apt -qq install ninja-buil + - name: configure + run: cmake -G Ninja -B ./build -S . + - name: build + run: cmake --build build +