mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-12-26 02:21:43 +08:00
fix appveyor.yml
This commit is contained in:
parent
3412b4df32
commit
2e2730dcd8
23
appveyor.yml
23
appveyor.yml
@ -135,14 +135,15 @@ for:
|
|||||||
- cmd: echo == INSTALL JKQtPlotter ==========================================================================
|
- cmd: echo == INSTALL JKQtPlotter ==========================================================================
|
||||||
- cmd: cd %APPVEYOR_BUILD_FOLDER%
|
- cmd: cd %APPVEYOR_BUILD_FOLDER%
|
||||||
- cmd: cd build
|
- cmd: cd build
|
||||||
- cmd: if %USE_CMAKE%==true cmake --install . --config "%CONFIGURATION%" -j%NUMBER_OF_PROCESSORS%
|
- cmd: if %USE_CMAKE%==true cmake --install . --config "%CONFIGURATION%"
|
||||||
|
|
||||||
after_build:
|
after_build:
|
||||||
- cmd: echo == TEST USE JKQtPlotter CMAKE BUILD ============================================================
|
- cmd: echo == TEST USE JKQtPlotter CMAKE BUILD ============================================================
|
||||||
- cmd: if %USE_CMAKE%==true cd %APPVEYOR_BUILD_FOLDER%
|
- cmd: cd %APPVEYOR_BUILD_FOLDER%
|
||||||
- cmd: if %USE_CMAKE%==true cd examples\cmake_link_example
|
- cmd: if %USE_CMAKE%==true cd examples
|
||||||
- cmd: mkdir build
|
- cmd: if %USE_CMAKE%==true cd cmake_link_example
|
||||||
- cmd: cd build
|
- cmd: if %USE_CMAKE%==true mkdir build
|
||||||
|
- cmd: if %USE_CMAKE%==true cd build
|
||||||
- cmd: if %USE_CMAKE%==true cmake -G "%CMAKE_GENERATOR%" "-DCMAKE_PREFIX_PATH=%QTDIR%;%CIMG_INCLUDE_DIR%;%APPVEYOR_BUILD_FOLDER%\install" ..
|
- cmd: if %USE_CMAKE%==true cmake -G "%CMAKE_GENERATOR%" "-DCMAKE_PREFIX_PATH=%QTDIR%;%CIMG_INCLUDE_DIR%;%APPVEYOR_BUILD_FOLDER%\install" ..
|
||||||
- cmd: if %USE_CMAKE%==true cmake --build . --config "%CONFIGURATION%" -j%NUMBER_OF_PROCESSORS% -- %CMAKE_BUILDFLAGS%
|
- cmd: if %USE_CMAKE%==true cmake --build . --config "%CONFIGURATION%" -j%NUMBER_OF_PROCESSORS% -- %CMAKE_BUILDFLAGS%
|
||||||
- cmd: cd ..
|
- cmd: cd ..
|
||||||
@ -225,22 +226,22 @@ for:
|
|||||||
- sh: |
|
- sh: |
|
||||||
if [ "$USE_CMAKE" = true ]; then
|
if [ "$USE_CMAKE" = true ]; then
|
||||||
echo --- Install using CMake -------------------------------------------------------------------------------
|
echo --- Install using CMake -------------------------------------------------------------------------------
|
||||||
cmake --install . --config "$CONFIGURATION" -j$(getconf _NPROCESSORS_ONLN)
|
cmake --install . --config "$CONFIGURATION"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
after_build:
|
after_build:
|
||||||
- sh: echo == TEST USE JKQtPlotter CMAKE BUILD ============================================================
|
- sh: echo == TEST USE JKQtPlotter CMAKE BUILD ============================================================
|
||||||
- sh: cd $APPVEYOR_BUILD_FOLDER
|
|
||||||
- sh: if %USE_CMAKE%==true cd examples\cmake_link_example
|
|
||||||
- sh: mkdir build
|
|
||||||
- sh: cd build
|
|
||||||
- sh: |
|
- sh: |
|
||||||
if [ "$USE_CMAKE" = true ]; then
|
if [ "$USE_CMAKE" = true ]; then
|
||||||
|
cd $APPVEYOR_BUILD_FOLDER
|
||||||
|
cd examples/cmake_link_example
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
cmake -G "%CMAKE_GENERATOR%" "-DCMAKE_PREFIX_PATH=%QTDIR%;%CIMG_INCLUDE_DIR%;$APPVEYOR_BUILD_FOLDER\install" ..
|
cmake -G "%CMAKE_GENERATOR%" "-DCMAKE_PREFIX_PATH=%QTDIR%;%CIMG_INCLUDE_DIR%;$APPVEYOR_BUILD_FOLDER\install" ..
|
||||||
cmake --build . --config "%CONFIGURATION%" -j%NUMBER_OF_PROCESSORS% -- %CMAKE_BUILDFLAGS%
|
cmake --build . --config "%CONFIGURATION%" -j%NUMBER_OF_PROCESSORS% -- %CMAKE_BUILDFLAGS%
|
||||||
|
cd ..
|
||||||
fi
|
fi
|
||||||
- sh: cd ..
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user