mirror of https://github.com/davisking/dlib.git
Make Github Actions build more stuff (in particular, the examples) (#2502)
This commit is contained in:
parent
7048f4c1d4
commit
979a22c51d
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in New Issue