bugfixed appVeyor-builds for MacOs

This commit is contained in:
Jan W. Krieger 2022-07-18 23:01:18 +02:00 committed by GitHub
parent ca35ef0322
commit 580635144f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,9 +66,9 @@ environment:
image: image:
# AppVeyor builds are ordered by the image list: # AppVeyor builds are ordered by the image list:
- Visual Studio 2019
- Ubuntu2004
- macos-monterey - macos-monterey
- Ubuntu2004
- Visual Studio 2019
matrix: matrix:
exclude: exclude:
@ -167,12 +167,11 @@ for:
# Linux (Ubuntu2004) and MacOS (Monterey) # Linux (Ubuntu2004)
- -
matrix: matrix:
only: only:
- image: Ubuntu2004 - image: Ubuntu2004
- image: macos-monterey
init: init:
- sh: echo == INIT SYSTEM ENVIRONMENT ====================================================================== - sh: echo == INIT SYSTEM ENVIRONMENT ======================================================================
@ -192,10 +191,6 @@ for:
- sh: echo QTDIR=$QTDIR - sh: echo QTDIR=$QTDIR
- sh: echo QT_DIR=$QT_DIR - sh: echo QT_DIR=$QT_DIR
- sh: echo Qt5_DIR=$Qt5_DIR - sh: echo Qt5_DIR=$Qt5_DIR
- sh: ls /home/appveyor
- sh: ls /home/appveyor/Qt
- sh: ls /home/appveyor/Qt/5.15
- sh: ls /home/appveyor/Qt/5.15/gcc_64
- sh: echo PATH=$PATH - sh: echo PATH=$PATH
- sh: sudo apt-get update -y - sh: sudo apt-get update -y
# Install OpenCV # Install OpenCV
@ -215,3 +210,46 @@ for:
- sh: cmake -G "$CMAKE_GENERATOR" "-DCMAKE_PREFIX_PATH=$QTDIR" .. - sh: cmake -G "$CMAKE_GENERATOR" "-DCMAKE_PREFIX_PATH=$QTDIR" ..
- sh: echo --- Build using CMake ------------------------------------------------------------------------------- - sh: echo --- Build using CMake -------------------------------------------------------------------------------
- sh: cmake --build . --config "$CONFIGURATION" -- $CMAKE_BUILDFLAGS - sh: cmake --build . --config "$CONFIGURATION" -- $CMAKE_BUILDFLAGS
# MacOS (Monterey)
-
matrix:
only:
- image: macos-monterey
init:
- sh: echo == INIT SYSTEM ENVIRONMENT ======================================================================
- sh: echo _NPROCESSORS_ONLN=$(getconf _NPROCESSORS_ONLN)
- sh: echo APPVEYOR_BUILD_WORKER_IMAGE=$APPVEYOR_BUILD_WORKER_IMAGE
- sh: echo QTABI=$QTABI
- sh: echo CMAKE_GENERATOR=$CMAKE_GENERATOR
install:
# Init compiler environment
- sh: echo == INIT COMPILER ENVIRONMENT ====================================================================
- sh: export QTDIR=$HOME/Qt/$QTVER/$QTABI/
- sh: export QT_DIR=$HOME/Qt/$QTVER/$QTABI/
- sh: export Qt5_DIR=$QTDIR/lib/cmake
- sh: echo QTDIR=$QTDIR
- sh: echo QT_DIR=$QT_DIR
- sh: echo Qt5_DIR=$Qt5_DIR
- sh: echo PATH=$PATH
# Install OpenCV
build_script:
- sh: echo == BUILD JKQtPlotter ============================================================================
- sh: mkdir build
- sh: cd build
- sh: echo --- Run CMake Configure -----------------------------------------------------------------------------
- sh: doxygen --version
- sh: cmake --version
- sh: cmake -G "$CMAKE_GENERATOR" "-DCMAKE_PREFIX_PATH=$QTDIR" ..
- sh: echo --- Build using CMake -------------------------------------------------------------------------------
- sh: cmake --build . --config "$CONFIGURATION" -- $CMAKE_BUILDFLAGS