ci: test building examples

This commit is contained in:
Sandy Carter
2023-01-21 16:36:23 -05:00
committed by Sandy
parent b6c4027d20
commit 38d11732c7

View File

@@ -34,7 +34,7 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
submodules: recursive
- name: Install Linux dependencies
run: |
sudo apt-get update
@@ -55,4 +55,9 @@ jobs:
# Build the whole project with Ninja (which is spawn by CMake).
- name: Build
run: |
cmake --build "${{ env.CMAKE_BUILD_DIR }}"
cmake --build "${{ env.CMAKE_BUILD_DIR }}"
# Build the examples which are excluded from all
- name: Build examples
run: |
cmake --build "${{ env.CMAKE_BUILD_DIR }}" --target examples