From e2f33189d5ac0a87f42406d9082d42f6d765b25e Mon Sep 17 00:00:00 2001
From: Malachi Burke <malachi.burke@gmail.com>
Date: Fri, 6 Dec 2024 22:58:21 -0800
Subject: [PATCH] build: bringing in CI yml from exp branch

---
 .github/workflows/cmake.yml | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 .github/workflows/cmake.yml

diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml
new file mode 100644
index 00000000..8de34ca7
--- /dev/null
+++ b/.github/workflows/cmake.yml
@@ -0,0 +1,27 @@
+name: CMake
+
+on:
+  push:
+    branches: [ "dev/**", "alpha" ]
+
+env:
+  # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
+  BUILD_TYPE: Release
+
+jobs:
+  build:
+    env:
+      unit_test_dir: ${{github.workspace}}/test/catch
+
+    runs-on: ubuntu-22.04
+
+    steps:
+    - uses: actions/checkout@v4
+      with:
+        submodules: recursive
+
+    - name: Build
+      uses: threeal/cmake-action@v2.0.0
+      with:
+        source-dir: ${{env.unit_test_dir}}
+