summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/workflow.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml
new file mode 100644
index 00000000..d0cb7f63
--- /dev/null
+++ b/.github/workflows/workflow.yml
@@ -0,0 +1,19 @@
+name: "Main Workflow"
+on:
+ pull_request:
+ push:
+
+jobs:
+ build_and_test:
+ runs-on: ubuntu-latest
+ steps:
+ - name: 'Checkout'
+ uses: actions/checkout@v2
+ - name: 'Build & Test'
+ uses: ashutoshvarma/action-cmake-build@master
+ with:
+ cc: gcc
+ cxx: g++
+ build-type: Release
+ configure-options: -DBUILD_TESTING=1
+ run-test: true