summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-02-28 05:53:53 +0100
committerGitHub <noreply@github.com>2026-02-28 05:53:53 +0100
commit85afbfe4ca2487292189a2c32c0d978cbc1daeb3 (patch)
tree9507503e9e9f1c7ee5600d4ae8a5d9bf2d924d74 /.github
parentcf33ef98325a6c1065b5520ae7a95c52045731d9 (diff)
Create cmake-platform-release.yml
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/cmake-platform-release.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/cmake-platform-release.yml b/.github/workflows/cmake-platform-release.yml
new file mode 100644
index 0000000..75ec1a8
--- /dev/null
+++ b/.github/workflows/cmake-platform-release.yml
@@ -0,0 +1,30 @@
+name: CMake Build (RELEASE)
+
+on:
+ push:
+ branches: [ "develop" ]
+ pull_request:
+ branches: [ "develop" ]
+
+env:
+ BUILD_TYPE: Release
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: Configure CMake
+ run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
+
+ - name: Build
+ run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
+
+ - name: Install
+ run: cmake --install ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
+
+ # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
+ run: ctest -C ${{env.BUILD_TYPE}}
+