Skip to content

Commit 68cd2ac

Browse files
author
Matevz Morato
committed
Explicitly use cmake from pypi
1 parent 44b5895 commit 68cd2ac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,8 @@ jobs:
336336

337337
- name: Build and install depthai-core
338338
run: |
339-
cmake -S depthai-core/ -B build_core -D CMAKE_BUILD_TYPE=Release -D CMAKE_TOOLCHAIN_FILE=$PWD/cmake/toolchain/pic.cmake
340-
cmake --build build_core --target install --parallel 4
339+
/opt/python/cp38-cp38/bin/cmake -S depthai-core/ -B build_core -D CMAKE_BUILD_TYPE=Release -D CMAKE_TOOLCHAIN_FILE=$PWD/cmake/toolchain/pic.cmake
340+
/opt/python/cp38-cp38/bin/cmake --build build_core --target install --parallel 4
341341
echo "DEPTHAI_INSTALLATION_DIR=$PWD/build_core/install/" >> $GITHUB_ENV
342342
343343
- name: Append build hash if not a tagged commit
@@ -398,8 +398,8 @@ jobs:
398398

399399
- name: Build and install depthai-core
400400
run: |
401-
cmake -S depthai-core/ -B build_core -D CMAKE_BUILD_TYPE=Release -D CMAKE_TOOLCHAIN_FILE=$PWD/cmake/toolchain/pic.cmake
402-
cmake --build build_core --target install --parallel 4
401+
/opt/python/cp38-cp38/bin/cmake -S depthai-core/ -B build_core -D CMAKE_BUILD_TYPE=Release -D CMAKE_TOOLCHAIN_FILE=$PWD/cmake/toolchain/pic.cmake
402+
/opt/python/cp38-cp38/bin/cmake --build build_core --target install --parallel 4
403403
echo "DEPTHAI_INSTALLATION_DIR=$PWD/build_core/install/" >> $GITHUB_ENV
404404
405405
- name: Append build hash if not a tagged commit

0 commit comments

Comments
 (0)