diff options
Diffstat (limited to '.github/workflows/cmake-platform-debug.yml')
| -rw-r--r-- | .github/workflows/cmake-platform-debug.yml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/cmake-platform-debug.yml b/.github/workflows/cmake-platform-debug.yml new file mode 100644 index 0000000..eebbecd --- /dev/null +++ b/.github/workflows/cmake-platform-debug.yml @@ -0,0 +1,30 @@ +name: CMake Build (RELEASE) + +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}} + |
