mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Make Github Actions build more stuff (in particular, the examples) (#2502)
This commit is contained in:
parent
7048f4c1d4
commit
979a22c51d
7
.github/workflows/build_cmake.yml
vendored
7
.github/workflows/build_cmake.yml
vendored
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user