mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-11-15 10:05:47 +08:00
some modifications to appveyor.yml ... and status-messages in simpletest_cmake
This commit is contained in:
parent
a1ee5b58b9
commit
6cab8dd3b0
46
appveyor.yml
46
appveyor.yml
@ -32,15 +32,8 @@ environment:
|
||||
matrix:
|
||||
|
||||
|
||||
- QTABI: gcc_64
|
||||
COMPILER: GCC
|
||||
QTVER: 6.4
|
||||
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
|
||||
CMAKE_GENERATOR: "Unix Makefiles"
|
||||
INSTALL_QMAKE5: true
|
||||
TEST_FETCHCONTENT: true
|
||||
|
||||
- QTABI: gcc_64
|
||||
- NAME: "Ubuntu2004: QMake, Qt6"
|
||||
QTABI: gcc_64
|
||||
COMPILER: GCC
|
||||
QTVER: 5.15
|
||||
USE_CMAKE: false
|
||||
@ -49,7 +42,8 @@ environment:
|
||||
INSTALL_QMAKE5: true
|
||||
TEST_FETCHCONTENT: false
|
||||
|
||||
- QTABI: msvc2019_64
|
||||
- NAME: "MSVC64: CMake, Qt5"
|
||||
QTABI: msvc2019_64
|
||||
COMPILER: MSVC
|
||||
QTVER: 5.15
|
||||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
||||
@ -57,7 +51,8 @@ environment:
|
||||
CMAKE_BUILDFLAGS: /verbosity:minimal /maxcpucount
|
||||
TEST_FETCHCONTENT: false
|
||||
|
||||
- QTABI: msvc2019_64
|
||||
- NAME: "MSVC64: CMake, Qt6"
|
||||
QTABI: msvc2019_64
|
||||
COMPILER: MSVC
|
||||
QTVER: 6.4
|
||||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
||||
@ -65,7 +60,8 @@ environment:
|
||||
CMAKE_BUILDFLAGS: /verbosity:minimal /maxcpucount
|
||||
TEST_FETCHCONTENT: false
|
||||
|
||||
- QTABI: gcc_64
|
||||
- NAME: "Ubuntu2004: CMake, Qt5"
|
||||
QTABI: gcc_64
|
||||
COMPILER: GCC
|
||||
QTVER: 5.15
|
||||
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
|
||||
@ -73,7 +69,8 @@ environment:
|
||||
INSTALL_QMAKE5: true
|
||||
TEST_FETCHCONTENT: false
|
||||
|
||||
- QTABI: gcc_64
|
||||
- NAME: "Ubuntu2004: CMake, Qt6"
|
||||
QTABI: gcc_64
|
||||
COMPILER: GCC
|
||||
QTVER: 6.4
|
||||
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
|
||||
@ -81,7 +78,16 @@ environment:
|
||||
INSTALL_QMAKE5: true
|
||||
TEST_FETCHCONTENT: false
|
||||
|
||||
- QTABI: macos
|
||||
- NAME: "Ubuntu2004: CMake-FetchContent, Qt6"
|
||||
QTABI: gcc_64
|
||||
COMPILER: GCC
|
||||
QTVER: 6.4
|
||||
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
|
||||
CMAKE_GENERATOR: "Unix Makefiles"
|
||||
TEST_FETCHCONTENT: true
|
||||
|
||||
- NAME: "MacOS: CMake, Qt6"
|
||||
QTABI: macos
|
||||
COMPILER: CLANG
|
||||
QTVER: 6.4
|
||||
APPVEYOR_BUILD_WORKER_IMAGE: macos-monterey
|
||||
@ -171,7 +177,7 @@ for:
|
||||
- cmd: if %USE_CMAKE%==true dir Testing\*.*
|
||||
- cmd: if %USE_CMAKE%==true ctest --version
|
||||
- cmd: if %USE_CMAKE%==true ctest --print-labels --build-config "%CONFIGURATION%"
|
||||
- cmd: if %USE_CMAKE%==true ctest --build-config "%CONFIGURATION%" -VV --output-on-failure --output-junit test-results.xml
|
||||
- cmd: if %USE_CMAKE%==true ctest --build-config "%CONFIGURATION%" -VV --output-on-failure --output-junit %APPVEYOR_BUILD_FOLDER%\build\test-results.xml
|
||||
- cmd: if %USE_CMAKE%==true dir *.*
|
||||
- cmd: if %USE_CMAKE%==true dir Testing\*.*
|
||||
|
||||
@ -259,7 +265,7 @@ for:
|
||||
cd build
|
||||
echo --- Run QMake Configure -----------------------------------------------------------------------------
|
||||
$QTDIR/bin/qmake -v
|
||||
$QTDIR/bin/qmake -makefile -o Makefile "CONFIG+=%CONFIGURATION%" ../JKQtPlotterAppveyorBuild.pro
|
||||
$QTDIR/bin/qmake -makefile -o Makefile "CONFIG+=$CONFIGURATION" ../JKQtPlotterAppveyorBuild.pro
|
||||
echo --- Build for QMake ---------------------------------------------------------------------------------
|
||||
make -j$(getconf _NPROCESSORS_ONLN)
|
||||
fi
|
||||
@ -376,8 +382,12 @@ for:
|
||||
- find "$APPVEYOR_BUILD_FOLDER" -type f -name 'test-results.xml' -print0 | xargs -0 -I '{}' curl -F 'file=@{}' "https://ci.appveyor.com/api/testresults/junit/$APPVEYOR_JOB_ID"
|
||||
|
||||
|
||||
|
||||
artifacts:
|
||||
- path: 'build/CMakeFiles/*.log'
|
||||
- path: 'build/**/*.log'
|
||||
name: logs
|
||||
- path: 'build/Testing/**/*.xml'
|
||||
- path: 'install'
|
||||
name: install-results
|
||||
type: zip
|
||||
- path: 'build/**/test-results.xml'
|
||||
name: test_results
|
@ -13,6 +13,23 @@ find_package(QT NAMES Qt6 Qt5 COMPONENTS Core Gui Widgets PrintSupport Svg Xml O
|
||||
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core Gui Widgets PrintSupport Svg Xml OpenGL REQUIRED)
|
||||
|
||||
|
||||
message( STATUS )
|
||||
message( STATUS "=============================================================================" )
|
||||
message( STATUS "== JKQTPlotterLib:simpletest_cmake Build Information ==" )
|
||||
message( STATUS "=============================================================================" )
|
||||
message( STATUS "Version: ${PROJECT_VERSION}")
|
||||
message( STATUS "Build type: ${CMAKE_BUILD_TYPE}")
|
||||
message( STATUS "Build types: ${CMAKE_CONFIGURATION_TYPES}")
|
||||
message( STATUS "Using CMake: ${CMAKE_VERSION}")
|
||||
message( STATUS "Using CMake Generator: ${CMAKE_GENERATOR}")
|
||||
message( STATUS "Using compiler: ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}, platform: ${CMAKE_CXX_PLATFORM_ID}" )
|
||||
message( STATUS "LIB-Architecture: CXX: ${CMAKE_CXX_LIBRARY_ARCHITECTURE} / BASE: ${CMAKE_LIBRARY_ARCHITECTURE}" )
|
||||
message( STATUS "System Name: ${CMAKE_SYSTEM_NAME}" )
|
||||
message( STATUS "Processor Name: ${CMAKE_SYSTEM_PROCESSOR}" )
|
||||
message( STATUS "Using Qt: ${QT_VERSION}" )
|
||||
message( STATUS " [at ${QT_DIR}]" )
|
||||
|
||||
|
||||
# include JKQTPlotter
|
||||
find_package(JKQTPlotter${QT_VERSION_MAJOR} REQUIRED)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user