"src/array/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "83115794c29ef1db47f7e7e2e4fde54c0d7f0a4a"
Unverified Commit d665bfb8 authored by Adrià Arrufat's avatar Adrià Arrufat Committed by GitHub
Browse files

try to fix build on macOS (#2503)

parent 5291d58e
...@@ -24,19 +24,19 @@ jobs: ...@@ -24,19 +24,19 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Configure - name: Configure
working-directory: ${{ github.workspace }}/dlib/test
run: cmake . -B ${{ env.build_dir }}
- name: Build just tests
working-directory: ${{ github.workspace }}/dlib/test working-directory: ${{ github.workspace }}/dlib/test
run: | run: |
if [ "$RUNNER_OS" == "macOS" ]; then if [ "$RUNNER_OS" == "macOS" ]; then
# MacOS machines often come with low quality BLAS libraries installed, so don't use those. # 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 else
cmake --build ${{ env.build_dir }} --config ${{ env.config }} --target dtest --parallel 4 cmake . -B ${{ env.build_dir }}
fi; 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 - name: Test
working-directory: ${{ github.workspace }}/dlib/test/${{ env.build_dir }} working-directory: ${{ github.workspace }}/dlib/test/${{ env.build_dir }}
run: | run: |
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment