mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-12-25 18:11:38 +08:00
Update appveyor.yml
This commit is contained in:
parent
c7c2d3382d
commit
a132482f7b
35
appveyor.yml
35
appveyor.yml
@ -29,14 +29,14 @@ environment:
|
|||||||
USE_CMAKE: true
|
USE_CMAKE: true
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
- QTABI: msvc2019_64
|
|
||||||
COMPILER: MSVC
|
- QTABI: gcc_64
|
||||||
|
COMPILER: GCC
|
||||||
QTVER: 5.15
|
QTVER: 5.15
|
||||||
USE_CMAKE: false
|
USE_CMAKE: false
|
||||||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
|
||||||
CMAKE_GENERATOR: "Visual Studio 16 2019"
|
CMAKE_GENERATOR: "Unix Makefiles"
|
||||||
CMAKE_BUILDFLAGS: /verbosity:minimal /maxcpucount
|
MAKETOOL: make
|
||||||
MAKETOOL: jom
|
|
||||||
|
|
||||||
- QTABI: msvc2019_64
|
- QTABI: msvc2019_64
|
||||||
COMPILER: MSVC
|
COMPILER: MSVC
|
||||||
@ -168,15 +168,20 @@ for:
|
|||||||
- sh: echo == BUILD JKQtPlotter ============================================================================
|
- sh: echo == BUILD JKQtPlotter ============================================================================
|
||||||
- sh: mkdir build
|
- sh: mkdir build
|
||||||
- sh: cd build
|
- sh: cd build
|
||||||
- sh: echo --- Run CMake Configure -----------------------------------------------------------------------------
|
- sh: if [ "$USE_CMAKE" = true ]; then
|
||||||
- sh: doxygen --version
|
echo --- Run CMake Configure -----------------------------------------------------------------------------
|
||||||
- sh: cmake --version
|
cmake --version
|
||||||
- sh: cmake -G "$CMAKE_GENERATOR" "-DCMAKE_PREFIX_PATH=$QTDIR" ..
|
cmake -G "$CMAKE_GENERATOR" "-DCMAKE_PREFIX_PATH=$QTDIR" ..
|
||||||
- sh: echo --- Build using CMake -------------------------------------------------------------------------------
|
echo --- Build using CMake -------------------------------------------------------------------------------
|
||||||
- sh: cmake --build . --config "$CONFIGURATION" -j$(getconf _NPROCESSORS_ONLN) -- $CMAKE_BUILDFLAGS
|
cmake --build . --config "$CONFIGURATION" -j$(getconf _NPROCESSORS_ONLN) -- $CMAKE_BUILDFLAGS
|
||||||
|
fi
|
||||||
|
- sh: if [ "$USE_CMAKE" = false ]; then
|
||||||
|
echo --- Run QMake Configure -----------------------------------------------------------------------------
|
||||||
|
qmake -v
|
||||||
|
qmake CONFIG+=%CONFIGURATION% ..\JKQtPlotterBuildAllExamples.pro
|
||||||
|
echo --- Build using QMake -------------------------------------------------------------------------------
|
||||||
|
Make -j$(getconf _NPROCESSORS_ONLN)
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user