Make Github Actions build more stuff (in particular, the examples) (#2502)

This commit is contained in:
Juha Reunanen 2022-02-07 02:47:05 +02:00 committed by GitHub
parent 7048f4c1d4
commit 979a22c51d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -27,7 +27,7 @@ jobs:
working-directory: ${{ github.workspace }}/dlib/test working-directory: ${{ github.workspace }}/dlib/test
run: cmake . -B ${{ env.build_dir }} run: cmake . -B ${{ env.build_dir }}
- name: Build - name: Build just tests
working-directory: ${{ github.workspace }}/dlib/test working-directory: ${{ github.workspace }}/dlib/test
run: cmake --build ${{ env.build_dir }} --config ${{ env.config }} --target dtest run: cmake --build ${{ env.build_dir }} --config ${{ env.config }} --target dtest
@ -41,3 +41,8 @@ jobs:
else else
./dtest --runall -q ./dtest --runall -q
fi; 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 }}