From 38d11732c7ec4768475cd5889002556553a77504 Mon Sep 17 00:00:00 2001 From: Sandy Carter Date: Sat, 21 Jan 2023 16:36:23 -0500 Subject: [PATCH] ci: test building examples --- .github/workflows/ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d3f035..29ec250 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }}" \ No newline at end of file + 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