Skip to content

Commit

Permalink
Fix ci visp_sample build using visp-config script
Browse files Browse the repository at this point in the history
  • Loading branch information
fspindle committed Jul 5, 2023
1 parent e2a0196 commit 68cab68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ jobs:
run: |
cd ${HOME}/visp_sample
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/tmp/usr/local/lib/pkgconfig
/tmp/usr/local/bin/visp-config --cflags
/tmp/usr/local/bin/visp-config --libs
export VISP_INSTALL_PREFIX=/tmp/usr/local
$VISP_INSTALL_PREFIX/bin/visp-config --cflags
$VISP_INSTALL_PREFIX/bin/visp-config --libs
make -j$(sysctl -n hw.logicalcpu) -f Makefile.visp-config
make -j$(sysctl -n hw.logicalcpu) -f Makefile.visp-config clean
5 changes: 3 additions & 2 deletions .github/workflows/ubuntu-dep-apt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,10 @@ jobs:
run: |
cd ${HOME}/visp_sample
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/tmp/usr/local/lib/pkgconfig
export VISP_INSTALL_PREFIX=/tmp/usr/local
CC=${{ matrix.compiler.CC }}
CXX=${{ matrix.compiler.CXX }}
/tmp/usr/local/bin/visp-config --cflags
/tmp/usr/local/bin/visp-config --libs
$VISP_INSTALL_PREFIX/bin/visp-config --cflags
$VISP_INSTALL_PREFIX/bin/visp-config --libs
make CXX=${{ matrix.compiler.CXX }} -j$(nproc) -f Makefile.visp-config
make CXX=${{ matrix.compiler.CXX }} -j$(nproc) -f Makefile.visp-config clean

0 comments on commit 68cab68

Please sign in to comment.