diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-02-28 08:25:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-28 08:25:53 +0100 |
| commit | e557fa4f57f327f85c28060661ba02327023506f (patch) | |
| tree | f96aca2cc8b9eef76f3ddf864499aa97d9bab7bb /.github/workflows/cmake-multi-platform.yml | |
| parent | 64f9c2d862790f2eb93292d5bb0e5eb492521ad9 (diff) | |
Rename cmake-multi-debug.yml to cmake-multi-platform.yml
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to '.github/workflows/cmake-multi-platform.yml')
| -rw-r--r-- | .github/workflows/cmake-multi-platform.yml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml new file mode 100644 index 0000000..53ef1e8 --- /dev/null +++ b/.github/workflows/cmake-multi-platform.yml @@ -0,0 +1,30 @@ +name: CMake Build (DEBUG) + +on: + push: + branches: [ "develop" ] + pull_request: + branches: [ "develop" ] + +env: + BUILD_TYPE: Debug + +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}} + |
