Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
d665bfb8
"src/vscode:/vscode.git/clone" did not exist on "e7ad4c9c8be795e5aca9abb66af2392de32aeb1c"
Unverified
Commit
d665bfb8
authored
Feb 07, 2022
by
Adrià Arrufat
Committed by
GitHub
Feb 06, 2022
Browse files
try to fix build on macOS (#2503)
parent
5291d58e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
.github/workflows/build_cmake.yml
.github/workflows/build_cmake.yml
+6
-6
No files found.
.github/workflows/build_cmake.yml
View file @
d665bfb8
...
...
@@ -24,19 +24,19 @@ jobs:
-
uses
:
actions/checkout@v2
-
name
:
Configure
working-directory
:
${{ github.workspace }}/dlib/test
run
:
cmake . -B ${{ env.build_dir }}
-
name
:
Build just tests
working-directory
:
${{ github.workspace }}/dlib/test
run
:
|
if [ "$RUNNER_OS" == "macOS" ]; then
# MacOS machines often come with low quality BLAS libraries installed, so don't use those.
cmake
--build
${{ env.build_dir }}
--config ${{ env.config }} --target dtest --parallel 4
-DDLIB_USE_BLAS=0 -DDLIB_USE_LAPACK=0
cmake
. -B
${{ env.build_dir }} -DDLIB_USE_BLAS=0 -DDLIB_USE_LAPACK=0
else
cmake
--build
${{ env.build_dir }}
--config ${{ env.config }} --target dtest --parallel 4
cmake
. -B
${{ env.build_dir }}
fi;
-
name
:
Build just tests
working-directory
:
${{ github.workspace }}/dlib/test
run
:
cmake --build ${{ env.build_dir }} --config ${{ env.config }} --target dtest --parallel
4
-
name
:
Test
working-directory
:
${{ github.workspace }}/dlib/test/${{ env.build_dir }}
run
:
|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment