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 }}