From 979a22c51d9656b47c58b3dd171968f6a6d3151b Mon Sep 17 00:00:00 2001 From: Juha Reunanen Date: Mon, 7 Feb 2022 02:47:05 +0200 Subject: [PATCH] Make Github Actions build more stuff (in particular, the examples) (#2502) --- .github/workflows/build_cmake.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index 862001a21..efbafc96a 100644 --- a/.github/workflows/build_cmake.yml +++ b/.github/workflows/build_cmake.yml @@ -27,7 +27,7 @@ jobs: working-directory: ${{ github.workspace }}/dlib/test run: cmake . -B ${{ env.build_dir }} - - name: Build + - name: Build just tests working-directory: ${{ github.workspace }}/dlib/test run: cmake --build ${{ env.build_dir }} --config ${{ env.config }} --target dtest @@ -41,3 +41,8 @@ jobs: else ./dtest --runall -q fi; + + - name: Build examples, etc + if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' + working-directory: ${{ github.workspace }}/dlib/test + run: cmake --build ${{ env.build_dir }} --config ${{ env.config }}