mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2025-01-13 01:10:33 +08:00
Update appveyor.yml
This commit is contained in:
parent
0d96f7188c
commit
bb72e4ead9
10
appveyor.yml
10
appveyor.yml
@ -199,7 +199,7 @@ for:
|
|||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- sh: echo == BUILD JKQtPlotter ============================================================================
|
- sh: echo == BUILD JKQtPlotter ============================================================================
|
||||||
- sh: cd %APPVEYOR_BUILD_FOLDER%
|
- sh: cd $APPVEYOR_BUILD_FOLDER
|
||||||
- sh: mkdir build
|
- sh: mkdir build
|
||||||
- sh: mkdir install
|
- sh: mkdir install
|
||||||
- sh: cd build
|
- sh: cd build
|
||||||
@ -207,7 +207,7 @@ for:
|
|||||||
if [ "$USE_CMAKE" = true ]; then
|
if [ "$USE_CMAKE" = true ]; then
|
||||||
echo --- Run CMake Configure -----------------------------------------------------------------------------
|
echo --- Run CMake Configure -----------------------------------------------------------------------------
|
||||||
cmake --version
|
cmake --version
|
||||||
cmake -G "$CMAKE_GENERATOR" "-DCMAKE_PREFIX_PATH=$QTDIR;$CIMG_INCLUDE_DIR" "-DCMAKE_INSTALL_PREFIX=%APPVEYOR_BUILD_FOLDER%/install" ..
|
cmake -G "$CMAKE_GENERATOR" "-DCMAKE_PREFIX_PATH=$QTDIR;$CIMG_INCLUDE_DIR" "-DCMAKE_INSTALL_PREFIX=$APPVEYOR_BUILD_FOLDER/install" ..
|
||||||
echo --- Build using CMake -------------------------------------------------------------------------------
|
echo --- Build using CMake -------------------------------------------------------------------------------
|
||||||
cmake --build . --config "$CONFIGURATION" -j$(getconf _NPROCESSORS_ONLN) -- $CMAKE_BUILDFLAGS
|
cmake --build . --config "$CONFIGURATION" -j$(getconf _NPROCESSORS_ONLN) -- $CMAKE_BUILDFLAGS
|
||||||
fi
|
fi
|
||||||
@ -220,7 +220,7 @@ for:
|
|||||||
make -j$(getconf _NPROCESSORS_ONLN)
|
make -j$(getconf _NPROCESSORS_ONLN)
|
||||||
fi
|
fi
|
||||||
- sh: echo == INSTALL JKQtPlotter ==========================================================================
|
- sh: echo == INSTALL JKQtPlotter ==========================================================================
|
||||||
- sh: cd %APPVEYOR_BUILD_FOLDER%
|
- sh: cd $APPVEYOR_BUILD_FOLDER
|
||||||
- sh: cd build
|
- sh: cd build
|
||||||
- sh: |
|
- sh: |
|
||||||
if [ "$USE_CMAKE" = true ]; then
|
if [ "$USE_CMAKE" = true ]; then
|
||||||
@ -231,13 +231,13 @@ for:
|
|||||||
|
|
||||||
after_build:
|
after_build:
|
||||||
- sh: echo == TEST USE JKQtPlotter CMAKE BUILD ============================================================
|
- sh: echo == TEST USE JKQtPlotter CMAKE BUILD ============================================================
|
||||||
- sh: cd %APPVEYOR_BUILD_FOLDER%
|
- sh: cd $APPVEYOR_BUILD_FOLDER
|
||||||
- sh: if %USE_CMAKE%==true cd examples\cmake_link_example
|
- sh: if %USE_CMAKE%==true cd examples\cmake_link_example
|
||||||
- sh: mkdir build
|
- sh: mkdir build
|
||||||
- sh: cd build
|
- sh: cd build
|
||||||
- sh: |
|
- sh: |
|
||||||
if [ "$USE_CMAKE" = true ]; then
|
if [ "$USE_CMAKE" = true ]; then
|
||||||
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%
|
||||||
fi
|
fi
|
||||||
- sh: cd ..
|
- sh: cd ..
|
||||||
|
Loading…
Reference in New Issue
Block a user