2016-07-28 12:20:03 +02:00
|
|
|
|
|
|
|
# Notes:
|
|
|
|
# - Minimal appveyor.yml file is an empty file. All sections are optional.
|
|
|
|
# - Indent each level of configuration with 2 spaces. Do not use tabs!
|
|
|
|
# - All section names are case-sensitive.
|
|
|
|
# - Section names should be unique on each level.
|
|
|
|
|
|
|
|
#---------------------------------#
|
|
|
|
# general configuration #
|
|
|
|
#---------------------------------#
|
|
|
|
|
|
|
|
# version format
|
|
|
|
version: '{build}-{branch}'
|
|
|
|
|
|
|
|
# branches to build
|
|
|
|
branches:
|
|
|
|
# whitelist
|
|
|
|
only:
|
|
|
|
- develop
|
2023-02-22 15:45:53 +01:00
|
|
|
- master
|
2016-07-28 12:20:03 +02:00
|
|
|
|
|
|
|
# Do not build on tags (GitHub and BitBucket)
|
|
|
|
skip_tags: true
|
|
|
|
|
2023-02-22 15:45:53 +01:00
|
|
|
platform:
|
|
|
|
- x86
|
|
|
|
- x64
|
|
|
|
|
2016-07-28 12:20:03 +02:00
|
|
|
#---------------------------------#
|
2023-02-22 15:45:53 +01:00
|
|
|
# environment setup #
|
2016-07-28 12:20:03 +02:00
|
|
|
#---------------------------------#
|
|
|
|
|
|
|
|
# set clone depth
|
|
|
|
clone_depth: 1 # clone entire repository history if not defined
|
|
|
|
|
|
|
|
# fetch repository as zip archive
|
|
|
|
shallow_clone: false # default is "false"
|
|
|
|
|
|
|
|
environment:
|
2021-05-01 18:54:48 +02:00
|
|
|
ACCESS_TOKEN:
|
2023-02-22 15:45:53 +01:00
|
|
|
secure: RUhnEHqaR8KhalOMWwZZOoO342Ja50QV4KpEWdm9g3pG+jG7i6aJqUmeKF1l5VN6dzksk1u+yN6pOLnU8oGcaVQ6v+1dpKK1oZvF0tyHhNE=
|
|
|
|
|
2016-07-28 12:20:03 +02:00
|
|
|
matrix:
|
2023-06-24 08:47:24 +02:00
|
|
|
- job_name: Windows_Qt_6_5_(GCC_x64)
|
2023-06-24 14:16:22 +02:00
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
|
2023-02-22 15:45:53 +01:00
|
|
|
COMPILER: mingw
|
2023-02-26 13:54:29 +01:00
|
|
|
COMPILER_CPPSTD: gnu17
|
|
|
|
COMPILER_LIBCXX: libstdc++11
|
2023-06-24 08:47:24 +02:00
|
|
|
QT: Qt\6.5\mingw_64
|
|
|
|
QT_VERSION: Qt6_5
|
2023-02-22 15:45:53 +01:00
|
|
|
BUILD_SYSTEM: "qbs"
|
2023-03-06 10:03:06 +01:00
|
|
|
QMAKE: qmake.exe
|
2023-02-28 13:31:55 +01:00
|
|
|
ENABLE_PCH: true
|
2023-07-15 09:57:17 +02:00
|
|
|
GCC_VERSION: 9
|
2023-07-15 12:38:54 +02:00
|
|
|
MINGW_PATH: C:\Qt\Tools\mingw_64\bin
|
2023-02-22 15:45:53 +01:00
|
|
|
ARCH: x64
|
|
|
|
PYTHON: "C:\\Python311-x64"
|
|
|
|
PLATFORM: "Windows10+"
|
2023-06-29 17:08:36 +02:00
|
|
|
MSYS2_PACKAGES: false
|
2023-07-13 21:12:24 +02:00
|
|
|
WINDEPLOYQT_BIN_PATH: "undefined"
|
2023-02-22 15:45:53 +01:00
|
|
|
DEPLOY: true
|
|
|
|
|
|
|
|
- job_name: Windows_Qt_5_15_(qbs_GCC_x86)
|
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
|
|
|
COMPILER: mingw
|
2023-02-26 13:54:29 +01:00
|
|
|
COMPILER_CPPSTD: gnu17
|
|
|
|
COMPILER_LIBCXX: libstdc++11
|
2023-02-22 15:45:53 +01:00
|
|
|
QT: Qt\5.15\mingw81_32
|
|
|
|
QT_VERSION: Qt5_15
|
|
|
|
BUILD_SYSTEM: "qbs"
|
2023-03-06 10:03:06 +01:00
|
|
|
QMAKE: qmake.exe
|
2023-02-25 19:35:40 +01:00
|
|
|
ENABLE_PCH: true
|
2023-02-24 19:54:09 +01:00
|
|
|
GCC_VERSION: 8.1
|
2023-02-22 15:45:53 +01:00
|
|
|
MINGW_PATH: C:\Qt\Tools\mingw810_32\bin
|
|
|
|
ARCH: x86
|
|
|
|
PYTHON: "C:\\Python311"
|
|
|
|
PLATFORM: "Windows7+"
|
2023-02-28 09:24:39 +01:00
|
|
|
MSYS2_PACKAGES: false
|
2023-06-28 15:39:05 +02:00
|
|
|
WINDEPLOYQT_BIN_PATH: "undefined"
|
2023-02-22 15:45:53 +01:00
|
|
|
DEPLOY: true
|
|
|
|
|
|
|
|
- job_name: Windows_Qt_5_6_(GCC_x86)
|
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
|
|
|
COMPILER: mingw
|
|
|
|
QT: Qt\5.6\mingw49_32
|
|
|
|
QT_VERSION: Qt5_6
|
|
|
|
BUILD_SYSTEM: "make"
|
|
|
|
MINGW_PATH: C:\Qt\Tools\mingw492_32\bin
|
|
|
|
ARCH: x86
|
2023-02-24 19:54:09 +01:00
|
|
|
PYTHON: "C:\\Python38"
|
2023-02-22 15:45:53 +01:00
|
|
|
PLATFORM: "WindowsXP+"
|
|
|
|
DEPLOY: true
|
|
|
|
|
|
|
|
- job_name: MacOS_12_Qt_6_4 (multibundle)
|
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: macos-monterey
|
|
|
|
COMPILER: clang
|
2023-02-26 09:42:24 +01:00
|
|
|
QT: Qt/6.4/macos
|
2023-02-22 15:45:53 +01:00
|
|
|
QT_VERSION: Qt6_4
|
|
|
|
BUILD_SYSTEM: "qbs"
|
|
|
|
ARCH: x64
|
2023-02-23 10:28:07 +01:00
|
|
|
XCODE_VERSION: 13.4.1
|
2023-02-26 13:58:23 +01:00
|
|
|
PLATFORM: "macOS_11+"
|
2023-02-22 15:45:53 +01:00
|
|
|
MACOS_DEPLOYMENT_TARGET: 11.0
|
|
|
|
MULTI_BUNDLE: true
|
|
|
|
DEPLOY: true
|
|
|
|
|
|
|
|
- job_name: MacOS_12_Qt_6_4 (singlebundle)
|
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: macos-monterey
|
|
|
|
COMPILER: clang
|
2023-02-26 09:42:24 +01:00
|
|
|
QT: Qt/6.4/macos
|
2023-02-22 15:45:53 +01:00
|
|
|
QT_VERSION: Qt6_4
|
|
|
|
BUILD_SYSTEM: "qbs"
|
|
|
|
ARCH: x64
|
2023-02-23 10:28:07 +01:00
|
|
|
XCODE_VERSION: 13.4.1
|
2023-02-26 13:58:23 +01:00
|
|
|
PLATFORM: "macOS_11+"
|
2023-02-22 15:45:53 +01:00
|
|
|
MACOS_DEPLOYMENT_TARGET: 11.0
|
|
|
|
MULTI_BUNDLE: false
|
|
|
|
DEPLOY: true
|
|
|
|
|
|
|
|
- job_name: MacOS_10_15_Qt_5_15 (qbs, multibundle)
|
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: macos-catalina
|
|
|
|
COMPILER: clang
|
2023-02-26 09:42:24 +01:00
|
|
|
QT: Qt/5.15/clang_64
|
2023-02-22 15:45:53 +01:00
|
|
|
QT_VERSION: Qt5_15
|
|
|
|
BUILD_SYSTEM: "qbs"
|
|
|
|
ARCH: x64
|
2023-02-24 19:54:09 +01:00
|
|
|
XCODE_VERSION: 12.3
|
2023-02-22 15:45:53 +01:00
|
|
|
PLATFORM: "macOS10.13+"
|
|
|
|
MACOS_DEPLOYMENT_TARGET: 10.13
|
|
|
|
MULTI_BUNDLE: true
|
|
|
|
DEPLOY: true
|
|
|
|
|
|
|
|
- job_name: MacOS_10_15_Qt_5_15 (qbs, singlebundle)
|
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: macos-catalina
|
|
|
|
COMPILER: clang
|
2023-02-26 09:42:24 +01:00
|
|
|
QT: Qt/5.15/clang_64
|
2023-02-22 15:45:53 +01:00
|
|
|
QT_VERSION: Qt5_15
|
|
|
|
BUILD_SYSTEM: "qbs"
|
|
|
|
ARCH: x64
|
2023-02-24 19:54:09 +01:00
|
|
|
XCODE_VERSION: 12.3
|
2023-02-22 15:45:53 +01:00
|
|
|
PLATFORM: "macOS10.13+"
|
|
|
|
MACOS_DEPLOYMENT_TARGET: 10.13
|
|
|
|
MULTI_BUNDLE: false
|
|
|
|
DEPLOY: true
|
|
|
|
|
2023-06-24 08:47:24 +02:00
|
|
|
- job_name: Windows_Qt_6_4_(GCC_x64)
|
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
|
|
|
COMPILER: mingw
|
|
|
|
COMPILER_CPPSTD: gnu17
|
|
|
|
COMPILER_LIBCXX: libstdc++11
|
|
|
|
QT: Qt\6.4\mingw_64
|
|
|
|
QT_VERSION: Qt6_4
|
|
|
|
BUILD_SYSTEM: "qbs"
|
|
|
|
QMAKE: qmake.exe
|
|
|
|
ENABLE_PCH: true
|
2023-07-15 09:57:17 +02:00
|
|
|
GCC_VERSION: 9
|
2023-07-13 21:11:28 +02:00
|
|
|
MINGW_PATH: C:\Qt\6.5\mingw_64\bin
|
2023-06-24 08:47:24 +02:00
|
|
|
ARCH: x64
|
|
|
|
PYTHON: "C:\\Python311-x64"
|
|
|
|
PLATFORM: "Windows10+"
|
2023-06-28 15:39:05 +02:00
|
|
|
MSYS2_PACKAGES: false
|
|
|
|
WINDEPLOYQT_BIN_PATH: "undefined"
|
2023-06-24 08:47:24 +02:00
|
|
|
DEPLOY: false
|
|
|
|
|
2023-02-22 15:45:53 +01:00
|
|
|
- job_name: Windows_Qt_5_15_(make_GCC_x86)
|
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
|
|
|
COMPILER: mingw
|
|
|
|
QT: Qt\5.15\mingw81_32
|
|
|
|
QT_VERSION: Qt5_15
|
|
|
|
BUILD_SYSTEM: "make"
|
|
|
|
MINGW_PATH: C:\Qt\Tools\mingw810_32\bin
|
|
|
|
ARCH: x86
|
|
|
|
PYTHON: "C:\\Python311"
|
|
|
|
PLATFORM: "Windows7+"
|
|
|
|
DEPLOY: false
|
|
|
|
|
2023-06-24 08:47:24 +02:00
|
|
|
- job_name: Windows_Qt_6_5_(MSVC_x64)
|
2023-06-24 14:16:22 +02:00
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
|
2023-06-24 08:47:24 +02:00
|
|
|
COMPILER: msvc
|
|
|
|
QT: Qt\6.5\msvc2019_64
|
|
|
|
QT_VERSION: Qt6_5
|
|
|
|
BUILD_SYSTEM: "qbs"
|
|
|
|
QMAKE: qmake.exe
|
|
|
|
ENABLE_PCH: true
|
2023-07-15 10:07:18 +02:00
|
|
|
MSVC_PATH: "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\bin\\Hostx64\\x64"
|
2023-06-24 08:47:24 +02:00
|
|
|
ARCH: x64
|
|
|
|
PYTHON: "C:\\Python311-x64"
|
|
|
|
PLATFORM: "Windows10+"
|
|
|
|
MSYS2_PACKAGES: false
|
2023-06-29 17:08:36 +02:00
|
|
|
WINDEPLOYQT_BIN_PATH: "C:\\Qt\\6.4\\msvc2019_64\\bin"
|
2023-06-24 08:47:24 +02:00
|
|
|
DEPLOY: false
|
|
|
|
|
2023-02-22 15:45:53 +01:00
|
|
|
- job_name: Windows_Qt_6_4_(MSVC_x64)
|
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
|
|
|
COMPILER: msvc
|
2023-02-25 11:09:58 +01:00
|
|
|
QT: Qt\6.4\msvc2019_64
|
2023-02-22 15:45:53 +01:00
|
|
|
QT_VERSION: Qt6_4
|
|
|
|
BUILD_SYSTEM: "qbs"
|
2023-03-06 10:03:06 +01:00
|
|
|
QMAKE: qmake.exe
|
2023-02-25 19:35:40 +01:00
|
|
|
ENABLE_PCH: true
|
2023-02-23 09:21:37 +01:00
|
|
|
MSVC_PATH: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\Hostx64\\x64"
|
2023-02-22 15:45:53 +01:00
|
|
|
ARCH: x64
|
|
|
|
PYTHON: "C:\\Python311-x64"
|
|
|
|
PLATFORM: "Windows10+"
|
2023-02-28 09:24:39 +01:00
|
|
|
MSYS2_PACKAGES: false
|
2023-06-28 15:39:05 +02:00
|
|
|
WINDEPLOYQT_BIN_PATH: "undefined"
|
2023-02-22 15:45:53 +01:00
|
|
|
DEPLOY: false
|
|
|
|
|
|
|
|
- job_name: Windows_Qt_5_15_(qbs_GCC_x64)
|
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
|
|
|
COMPILER: mingw
|
2023-02-26 13:54:29 +01:00
|
|
|
COMPILER_CPPSTD: gnu17
|
|
|
|
COMPILER_LIBCXX: libstdc++11
|
2023-02-22 15:45:53 +01:00
|
|
|
QT: Qt\5.15\mingw81_64
|
|
|
|
QT_VERSION: Qt5_15
|
|
|
|
BUILD_SYSTEM: "qbs"
|
2023-03-06 10:03:06 +01:00
|
|
|
QMAKE: qmake.exe
|
2023-02-25 19:35:40 +01:00
|
|
|
ENABLE_PCH: true
|
2023-02-24 19:54:09 +01:00
|
|
|
GCC_VERSION: 8.1
|
2023-02-22 15:45:53 +01:00
|
|
|
MINGW_PATH: C:\Qt\Tools\mingw810_64\bin
|
|
|
|
ARCH: x64
|
|
|
|
PYTHON: "C:\\Python311-x64"
|
|
|
|
PLATFORM: "Windows7+"
|
2023-02-28 09:24:39 +01:00
|
|
|
MSYS2_PACKAGES: false
|
2023-06-28 15:39:05 +02:00
|
|
|
WINDEPLOYQT_BIN_PATH: "undefined"
|
2023-02-22 15:45:53 +01:00
|
|
|
DEPLOY: false
|
|
|
|
|
|
|
|
- job_name: Windows_Qt_5_15_(qbs_MSVC_x64)
|
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
|
|
|
COMPILER: msvc
|
|
|
|
QT: Qt\5.15\msvc2019_64
|
|
|
|
BUILD_SYSTEM: "qbs"
|
2023-03-06 10:03:06 +01:00
|
|
|
QMAKE: qmake.exe
|
2023-02-25 19:35:40 +01:00
|
|
|
ENABLE_PCH: true
|
2023-02-23 09:21:37 +01:00
|
|
|
MSVC_PATH: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\Hostx64\\x64"
|
2023-02-22 15:45:53 +01:00
|
|
|
VSVER: 16
|
|
|
|
ARCH: x64
|
|
|
|
PYTHON: "C:\\Python311-x64"
|
|
|
|
PLATFORM: "Windows7+"
|
2023-02-28 09:24:39 +01:00
|
|
|
MSYS2_PACKAGES: false
|
2023-06-28 15:39:05 +02:00
|
|
|
WINDEPLOYQT_BIN_PATH: "undefined"
|
2023-02-22 15:45:53 +01:00
|
|
|
DEPLOY: false
|
|
|
|
|
|
|
|
- job_name: Windows_Qt_5_15_(make_GCC_x64)
|
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
|
|
|
COMPILER: mingw
|
|
|
|
QT: Qt\5.15\mingw81_64
|
|
|
|
QT_VERSION: Qt5_15
|
|
|
|
BUILD_SYSTEM: "make"
|
|
|
|
MINGW_PATH: C:\Qt\Tools\mingw810_64\bin
|
|
|
|
ARCH: x64
|
|
|
|
PYTHON: "C:\\Python311-x64"
|
|
|
|
PLATFORM: "Windows7+"
|
|
|
|
DEPLOY: false
|
|
|
|
|
|
|
|
- job_name: Windows_Qt_5_15_(nmake_MSVC_x64)
|
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
|
|
|
COMPILER: msvc
|
|
|
|
QT: Qt\5.15\msvc2019_64
|
|
|
|
BUILD_SYSTEM: "nmake"
|
|
|
|
VSVER: 16
|
|
|
|
ARCH: x64
|
|
|
|
PYTHON: "C:\\Python311-x64"
|
|
|
|
PLATFORM: "Windows7+"
|
|
|
|
DEPLOY: false
|
|
|
|
|
|
|
|
- job_name: MacOS_10_15_Qt_5_15 (make)
|
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: macos-catalina
|
|
|
|
COMPILER: clang
|
2023-02-26 09:42:24 +01:00
|
|
|
QT: Qt/5.15/clang_64
|
2023-02-22 15:45:53 +01:00
|
|
|
QT_VERSION: Qt5_15
|
|
|
|
BUILD_SYSTEM: "make"
|
|
|
|
ARCH: x64
|
2023-02-24 19:54:09 +01:00
|
|
|
XCODE_VERSION: 12.3
|
2023-02-22 15:45:53 +01:00
|
|
|
PLATFORM: "macOS10.13+"
|
|
|
|
DEPLOY: false
|
|
|
|
|
|
|
|
- job_name: Windows_Qt_5_6_(MSVC_x64)
|
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
|
|
|
COMPILER: msvc
|
|
|
|
QT: Qt\5.6\msvc2015_64
|
|
|
|
QT_VERSION: Qt5_6
|
|
|
|
BUILD_SYSTEM: "nmake"
|
|
|
|
VSVER: 14
|
|
|
|
ARCH: x64
|
2023-02-24 19:54:09 +01:00
|
|
|
PYTHON: "C:\\Python38-x64"
|
2023-02-22 15:45:53 +01:00
|
|
|
PLATFORM: "WindowsXP+"
|
|
|
|
DEPLOY: false
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: false
|
|
|
|
exclude:
|
2023-06-24 12:14:00 +02:00
|
|
|
- platform: x86
|
|
|
|
job_name: Windows_Qt_6_5_(GCC_x64)
|
|
|
|
- platform: x86
|
|
|
|
job_name: Windows_Qt_6_5_(MSVC_x64)
|
2023-02-22 15:45:53 +01:00
|
|
|
- platform: x86
|
|
|
|
job_name: Windows_Qt_6_4_(GCC_x64)
|
|
|
|
- platform: x86
|
|
|
|
job_name: Windows_Qt_6_4_(MSVC_x64)
|
|
|
|
- platform: x86
|
|
|
|
job_name: Windows_Qt_5_15_(make_GCC_x64)
|
|
|
|
- platform: x86
|
|
|
|
job_name: Windows_Qt_5_15_(nmake_MSVC_x64)
|
|
|
|
- platform: x86
|
|
|
|
job_name: Windows_Qt_5_15_(qbs_GCC_x64)
|
|
|
|
- platform: x86
|
|
|
|
job_name: Windows_Qt_5_15_(qbs_MSVC_x64)
|
|
|
|
- platform: x86
|
|
|
|
job_name: Windows_Qt_5_6_(MSVC_x64)
|
2023-02-24 14:56:20 +01:00
|
|
|
- platform: x86
|
|
|
|
job_name: MacOS_12_Qt_6_4 (multibundle)
|
|
|
|
- platform: x86
|
|
|
|
job_name: MacOS_12_Qt_6_4 (singlebundle)
|
|
|
|
- platform: x86
|
|
|
|
job_name: MacOS_10_15_Qt_5_15 (qbs, multibundle)
|
|
|
|
- platform: x86
|
|
|
|
job_name: MacOS_10_15_Qt_5_15 (qbs, singlebundle)
|
|
|
|
- platform: x86
|
|
|
|
job_name: MacOS_10_15_Qt_5_15 (make)
|
2023-02-22 15:45:53 +01:00
|
|
|
- platform: x64
|
|
|
|
job_name: Windows_Qt_5_15_(make_GCC_x86)
|
|
|
|
- platform: x64
|
|
|
|
job_name: Windows_Qt_5_15_(qbs_GCC_x86)
|
|
|
|
- platform: x64
|
|
|
|
job_name: Windows_Qt_5_6_(GCC_x86)
|
|
|
|
|
|
|
|
for:
|
2016-07-28 12:20:03 +02:00
|
|
|
|
|
|
|
#---------------------------------#
|
2023-02-22 15:45:53 +01:00
|
|
|
# Windows #
|
2016-07-28 12:20:03 +02:00
|
|
|
#---------------------------------#
|
|
|
|
|
2023-02-22 15:45:53 +01:00
|
|
|
-
|
|
|
|
matrix:
|
|
|
|
only:
|
2023-06-24 12:14:00 +02:00
|
|
|
- job_name: Windows_Qt_6_5_(GCC_x64)
|
|
|
|
- job_name: Windows_Qt_6_5_(MSVC_x64)
|
2023-02-22 15:45:53 +01:00
|
|
|
- job_name: Windows_Qt_6_4_(GCC_x64)
|
|
|
|
- job_name: Windows_Qt_6_4_(MSVC_x64)
|
|
|
|
- job_name: Windows_Qt_5_15_(qbs_GCC_x64)
|
|
|
|
- job_name: Windows_Qt_5_15_(qbs_MSVC_x64)
|
|
|
|
- job_name: Windows_Qt_5_15_(qbs_GCC_x86)
|
|
|
|
|
|
|
|
# clone directory
|
|
|
|
clone_folder: c:\projects\valentina
|
2023-02-28 13:31:36 +01:00
|
|
|
|
|
|
|
cache:
|
|
|
|
- C:\Users\appveyor\.conan\data -> conan-cache
|
2023-02-22 15:45:53 +01:00
|
|
|
|
|
|
|
# scripts that are called at very beginning, before repo cloning
|
|
|
|
init:
|
|
|
|
# Uncomment if need access through RDP
|
|
|
|
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
2023-03-06 08:42:03 +01:00
|
|
|
- ver
|
2023-02-22 15:45:53 +01:00
|
|
|
# Path before
|
|
|
|
- path
|
|
|
|
- set QTDIR=C:\%QT%
|
2023-02-25 17:01:14 +01:00
|
|
|
- set PATH=%QTDIR%\bin;%QTDIR%\include;C:\Qt\Tools\QtCreator\bin;C:\Tools\PsTools;C:\Program Files\Git\cmd;C:\Program Files\Git\usr\bin;C:\Program Files\Git LFS;C:\Tools\GitVersion;C:\Windows\system32;C:\Windows;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\CMake\bin;%PYTHON%;%PYTHON%\Scripts
|
2023-02-22 15:45:53 +01:00
|
|
|
# Set VC variables for the platform
|
|
|
|
- ps: |
|
|
|
|
if ($env:COMPILER -eq "msvc") {
|
|
|
|
if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2022") {
|
|
|
|
if ($env:ARCH -eq "x64") {
|
2023-06-26 09:33:23 +02:00
|
|
|
cmd.exe /c "call `"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat`" && set > %temp%\vcvars.txt"
|
2023-02-25 19:35:40 +01:00
|
|
|
} elseif ($env:ARCH -eq "arm64") {
|
2023-06-26 09:33:23 +02:00
|
|
|
cmd.exe /c "call `"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsamd64_arm64.bat`" && set > %temp%\vcvars.txt"
|
2023-02-22 15:45:53 +01:00
|
|
|
} else {
|
2023-06-26 09:33:23 +02:00
|
|
|
cmd.exe /c "call `"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars32.bat`" && set > %temp%\vcvars.txt"
|
2023-02-22 15:45:53 +01:00
|
|
|
}
|
|
|
|
} elseif ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2019") {
|
|
|
|
if ($env:ARCH -eq "x64") {
|
2023-03-06 10:04:23 +01:00
|
|
|
cmd.exe /c "call `"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat`" && set > %temp%\vcvars.txt"
|
2023-02-25 19:35:40 +01:00
|
|
|
} elseif ($env:ARCH -eq "arm64") {
|
2023-03-06 10:04:23 +01:00
|
|
|
cmd.exe /c "call `"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsamd64_arm64.bat`" && set > %temp%\vcvars.txt"
|
2023-02-22 15:45:53 +01:00
|
|
|
} else {
|
2023-03-06 10:04:23 +01:00
|
|
|
cmd.exe /c "call `"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat`" && set > %temp%\vcvars.txt"
|
2023-02-22 15:45:53 +01:00
|
|
|
}
|
2023-03-06 10:04:23 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
Get-Content "$env:temp\vcvars.txt" | Foreach-Object {
|
|
|
|
if ($_ -match "^(.*?)=(.*)$") {
|
|
|
|
Set-Content "env:\$($matches[1])" $matches[2]
|
|
|
|
}
|
|
|
|
}
|
2023-02-25 17:18:34 +01:00
|
|
|
} else {
|
2023-02-28 09:31:37 +01:00
|
|
|
if ($env:MSYS2_PACKAGES -eq "true") {
|
|
|
|
& 'C:\msys64\usr\bin\bash' -lc "pacman --noconfirm -Syuu"
|
2023-06-24 14:12:58 +02:00
|
|
|
& 'C:\msys64\usr\bin\bash' -lc "pacman -R --noconfirm mingw-w64-x86_64-gcc-ada mingw-w64-x86_64-gcc-objc mingw-w64-x86_64-gcc-fortran mingw-w64-x86_64-gcc-libgfortran mingw-w64-x86_64-libgccjit"
|
2023-02-28 09:31:37 +01:00
|
|
|
& 'C:\msys64\usr\bin\bash' -lc "pacman --noconfirm -S mingw-w64-x86_64-gcc mingw-w64-x86_64-make"
|
|
|
|
}
|
2023-02-25 17:23:36 +01:00
|
|
|
$env:Path += ";$env:MINGW_PATH"
|
2023-02-25 17:18:34 +01:00
|
|
|
$env:CC = "gcc.exe"
|
|
|
|
$env:CXX = "g++.exe"
|
2023-02-22 15:45:53 +01:00
|
|
|
}
|
|
|
|
# Path after
|
|
|
|
- path
|
|
|
|
# Check that we have the expected version for Python
|
|
|
|
- (python --version)
|
|
|
|
# Install the build dependencies of the project.
|
|
|
|
- (python -m pip install --upgrade pip)
|
|
|
|
- if "%DEPLOY%" == "true" (python -m pip install dropbox)
|
2023-06-24 14:54:36 +02:00
|
|
|
- python -m pip install conan==1.60
|
2023-02-22 15:45:53 +01:00
|
|
|
# Trick qmake to not work through MSYS
|
|
|
|
- del /F "C:\Program Files\Git\usr\bin\sh.exe"
|
|
|
|
- del /F "C:\Program Files\Git\bin\sh.exe"
|
2023-06-24 13:56:56 +02:00
|
|
|
- dir "C:\"
|
2023-06-24 14:13:07 +02:00
|
|
|
- dir "C:\Qt"
|
2023-07-15 12:38:54 +02:00
|
|
|
- dir "C:\Qt\Tools"
|
2023-06-24 13:56:56 +02:00
|
|
|
- dir %QTDIR%
|
2023-02-26 19:41:34 +01:00
|
|
|
- dir "%QTDIR%\bin"
|
2023-02-22 15:49:26 +01:00
|
|
|
- qbs --version
|
2023-02-22 15:45:53 +01:00
|
|
|
|
|
|
|
before_build:
|
|
|
|
- cd %APPVEYOR_BUILD_FOLDER%
|
2023-02-23 10:28:07 +01:00
|
|
|
- qbs-setup-toolchains --detect
|
2023-03-06 10:03:06 +01:00
|
|
|
- qbs-setup-qt %QTDIR%\bin\%QMAKE% qt6
|
2023-02-22 15:45:53 +01:00
|
|
|
- qbs-config defaultProfile qt6
|
2023-02-23 09:54:21 +01:00
|
|
|
- dir "C:\Qt\Tools"
|
2023-06-24 14:54:10 +02:00
|
|
|
- conan config install https://gist.github.com/dismine/08166814777f9d29ee4533923d1690cd.git
|
2023-02-25 16:22:45 +01:00
|
|
|
- conan profile new valentina
|
|
|
|
- conan profile update settings.build_type=Release valentina
|
|
|
|
- conan profile update settings.os=Windows valentina
|
2023-02-22 15:45:53 +01:00
|
|
|
- ps: |
|
2023-02-25 09:26:21 +01:00
|
|
|
if ($env:ARCH -eq "x64") {
|
2023-02-25 16:22:45 +01:00
|
|
|
& conan profile update settings.arch=x86_64 valentina
|
2023-02-25 09:26:21 +01:00
|
|
|
} else {
|
2023-02-25 16:22:45 +01:00
|
|
|
& conan profile update settings.arch=x86 valentina
|
2023-02-25 09:26:21 +01:00
|
|
|
}
|
2023-02-22 15:45:53 +01:00
|
|
|
if ($env:COMPILER -eq "msvc")
|
|
|
|
{
|
2023-02-23 10:28:07 +01:00
|
|
|
& qbs-setup-toolchains.exe --type msvc $env:MSVC_PATH\cl.exe $env:COMPILER
|
|
|
|
& qbs-config.exe profiles.qt6.baseProfile $env:COMPILER
|
2023-02-25 16:22:45 +01:00
|
|
|
& conan profile update settings.compiler=msvc valentina
|
|
|
|
& conan profile update settings.compiler.cppstd=17 valentina
|
|
|
|
& conan profile update settings.compiler.runtime=dynamic valentina
|
|
|
|
& conan profile update settings.compiler.runtime_type=Release valentina
|
|
|
|
& conan profile update settings.compiler.version=192 valentina
|
2023-02-22 15:45:53 +01:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2023-02-23 10:28:07 +01:00
|
|
|
& qbs-setup-toolchains.exe --type mingw $env:MINGW_PATH\g++.exe $env:COMPILER
|
|
|
|
& qbs-config.exe profiles.qt6.baseProfile $env:COMPILER
|
2023-02-25 16:22:45 +01:00
|
|
|
& conan profile update settings.compiler=gcc valentina
|
2023-02-26 13:54:29 +01:00
|
|
|
& conan profile update settings.compiler.cppstd=$env:COMPILER_CPPSTD valentina
|
|
|
|
& conan profile update settings.compiler.libcxx=$env:COMPILER_LIBCXX valentina
|
2023-02-25 16:22:45 +01:00
|
|
|
& conan profile update settings.compiler.version=$env:GCC_VERSION valentina
|
2023-02-24 19:54:09 +01:00
|
|
|
}
|
2023-02-24 14:56:20 +01:00
|
|
|
- qbs-config --list profiles
|
2023-02-22 15:45:53 +01:00
|
|
|
|
|
|
|
build_script:
|
2023-03-06 15:34:39 +01:00
|
|
|
- conan install . -s os=Windows --build=missing -pr valentina
|
2023-06-28 15:39:05 +02:00
|
|
|
- qbs build -f valentina.qbs -d %APPVEYOR_BUILD_FOLDER%\build --jobs %NUMBER_OF_PROCESSORS% config:release qbs.installRoot:%APPVEYOR_BUILD_FOLDER%\build\install-root\valentina profile:qt6 project.enableConan:true modules.buildconfig.enableCcache:false project.conanProfiles:valentina modules.buildconfig.enablePCH:%ENABLE_PCH% modules.windeployqt.windeployqtProgramBinPath:%WINDEPLOYQT_BIN_PATH%
|
2023-02-22 15:45:53 +01:00
|
|
|
|
|
|
|
test_script:
|
|
|
|
- qbs -p autotest-runner -d %APPVEYOR_BUILD_FOLDER%\build profile:qt6 config:release
|
|
|
|
|
|
|
|
deploy_script:
|
|
|
|
- ps: scripts/appveyor-deploy.ps1
|
|
|
|
|
|
|
|
# Legacy
|
|
|
|
-
|
|
|
|
matrix:
|
|
|
|
only:
|
|
|
|
- job_name: Windows_Qt_5_15_(make_GCC_x86)
|
|
|
|
- job_name: Windows_Qt_5_15_(make_GCC_x64)
|
|
|
|
- job_name: Windows_Qt_5_15_(nmake_MSVC_x64)
|
|
|
|
- job_name: Windows_Qt_5_6_(GCC_x86)
|
|
|
|
- job_name: Windows_Qt_5_6_(MSVC_x64)
|
|
|
|
|
|
|
|
# clone directory
|
|
|
|
clone_folder: c:\projects\valentina
|
|
|
|
|
|
|
|
# scripts that are called at very beginning, before repo cloning
|
|
|
|
init:
|
|
|
|
# Uncomment if need access through RDP
|
|
|
|
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
2023-03-06 08:42:03 +01:00
|
|
|
- ver
|
2023-02-22 15:45:53 +01:00
|
|
|
# Path before
|
|
|
|
- path
|
|
|
|
- set QTDIR=C:\%QT%
|
|
|
|
- set PATH=%QTDIR%\bin;%QTDIR%\include;C:\Tools\PsTools;C:\Program Files\Git\cmd;C:\Program Files\Git\usr\bin;C:\Program Files\Git LFS;C:\Tools\GitVersion;C:\Windows\system32;C:\Windows;C:\Windows\System32\WindowsPowerShell\v1.0\
|
|
|
|
- if NOT "%BUILD_SYSTEM%" == "make" echo "Using Visual Studio %VSVER%.0"
|
|
|
|
- if "%BUILD_SYSTEM%" == "make" echo "Using MinGW"
|
|
|
|
# Set VC variables for the platform
|
|
|
|
- ps: |
|
|
|
|
if ($env:COMPILER -eq "msvc") {
|
|
|
|
if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2022") {
|
|
|
|
if ($env:ARCH -eq "x64") {
|
2023-03-06 10:04:23 +01:00
|
|
|
cmd.exe /c "call `"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat`" && set > %temp%\vcvars.txt"
|
2023-02-22 15:45:53 +01:00
|
|
|
} else {
|
2023-03-06 10:04:23 +01:00
|
|
|
cmd.exe /c "call `"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars32.bat`" && set > %temp%\vcvars.txt"
|
2023-02-22 15:45:53 +01:00
|
|
|
}
|
|
|
|
} elseif ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2019") {
|
|
|
|
if ($env:ARCH -eq "x64") {
|
2023-03-06 10:04:23 +01:00
|
|
|
cmd.exe /c "call `"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat`" && set > %temp%\vcvars.txt"
|
2023-02-22 15:45:53 +01:00
|
|
|
} else {
|
2023-03-06 10:04:23 +01:00
|
|
|
cmd.exe /c "call `"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat`" && set > %temp%\vcvars.txt"
|
2023-02-22 15:45:53 +01:00
|
|
|
}
|
|
|
|
} elseif ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2017") {
|
|
|
|
if ($env:ARCH -eq "x64") {
|
2023-03-06 10:04:23 +01:00
|
|
|
cmd.exe /c "call `"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat`" && set > %temp%\vcvars.txt"
|
2023-02-22 15:45:53 +01:00
|
|
|
} else {
|
2023-03-06 10:04:23 +01:00
|
|
|
cmd.exe /c "call `"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat`" && set > %temp%\vcvars.txt"
|
2023-02-22 15:45:53 +01:00
|
|
|
}
|
|
|
|
} elseif ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2015") {
|
|
|
|
if ($env:ARCH -eq "x64") {
|
2023-03-06 10:04:23 +01:00
|
|
|
cmd.exe /c "call `"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd`" /x64 && call `"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat`" x86_amd64 && set > %temp%\vcvars.txt"
|
2023-02-22 15:45:53 +01:00
|
|
|
} else {
|
2023-03-06 10:04:23 +01:00
|
|
|
cmd.exe /c "call `"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat`" && set > %temp%\vcvars.txt"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Get-Content "$env:temp\vcvars.txt" | Foreach-Object {
|
|
|
|
if ($_ -match "^(.*?)=(.*)$") {
|
|
|
|
Set-Content "env:\$($matches[1])" $matches[2]
|
2023-02-22 15:45:53 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
- if "%BUILD_SYSTEM%" == "make" set PATH=%MINGW_PATH%;%PATH%
|
|
|
|
- if "%BUILD_SYSTEM%" == "nmake" set PATH=C:\Qt\Tools\QtCreator\bin;%PATH%
|
|
|
|
- if "%DEPLOY%" == "true" set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%
|
|
|
|
# Set paths to libraries
|
2023-02-23 09:29:57 +01:00
|
|
|
- set PATH=%APPVEYOR_BUILD_FOLDER%\build\src\libs\vpropertyexplorer\bin;%APPVEYOR_BUILD_FOLDER%\build\src\libs\qmuparser\bin;%PATH%
|
2023-02-22 15:45:53 +01:00
|
|
|
# Path after
|
|
|
|
- path
|
|
|
|
# Check that we have the expected version for Python
|
|
|
|
- if "%DEPLOY%" == "true" (python --version)
|
|
|
|
# Install the build dependencies of the project.
|
|
|
|
- if "%DEPLOY%" == "true" (python -m pip install --upgrade pip)
|
|
|
|
- if "%DEPLOY%" == "true" (python -m pip install dropbox)
|
|
|
|
# Trick qmake to not work through MSYS
|
|
|
|
- del /F "C:\Program Files\Git\usr\bin\sh.exe"
|
|
|
|
- del /F "C:\Program Files\Git\bin\sh.exe"
|
|
|
|
- qmake -v
|
|
|
|
|
|
|
|
before_build:
|
|
|
|
- cd %APPVEYOR_BUILD_FOLDER%
|
2016-07-28 12:20:03 +02:00
|
|
|
- md build
|
|
|
|
|
2023-02-22 15:45:53 +01:00
|
|
|
# to run your custom scripts instead of automatic MSBuild
|
|
|
|
build_script:
|
|
|
|
- cd build
|
|
|
|
- if "%DEPLOY%" == "true" (qmake ..\Valentina.pro -r CONFIG+=no_ccache CONFIG+=checkWarnings CONFIG+=noDebugSymbols CONFIG+=noWindowsInstaller) else (qmake ..\Valentina.pro -r CONFIG+=noDebugSymbols CONFIG+=no_ccache CONFIG+=checkWarnings)
|
|
|
|
- if not "%BUILD_SYSTEM%" == "make" (nmake -s) else (mingw32-make -j%NUMBER_OF_PROCESSORS%)
|
2016-07-28 12:20:03 +02:00
|
|
|
|
2023-02-22 15:45:53 +01:00
|
|
|
# to run your custom scripts instead of automatic tests
|
|
|
|
test_script:
|
|
|
|
- if "%BUILD_SYSTEM%" == "make" (mingw32-make -s check TESTARGS="-silent")
|
|
|
|
|
|
|
|
# prepare to deploy
|
|
|
|
after_test:
|
|
|
|
- if "%DEPLOY%" == "true" (mingw32-make install)
|
2016-07-28 12:20:03 +02:00
|
|
|
|
2023-02-22 15:45:53 +01:00
|
|
|
# to run your custom scripts instead of provider deployments
|
|
|
|
deploy_script:
|
|
|
|
- ps: ../scripts/appveyor-deploy.ps1
|
2016-07-28 12:20:03 +02:00
|
|
|
|
2023-02-22 15:45:53 +01:00
|
|
|
#---------------------------------#
|
|
|
|
# MacOS #
|
|
|
|
#---------------------------------#
|
|
|
|
|
|
|
|
-
|
|
|
|
matrix:
|
|
|
|
only:
|
|
|
|
- job_name: MacOS_12_Qt_6_4 (multibundle)
|
|
|
|
- job_name: MacOS_12_Qt_6_4 (singlebundle)
|
|
|
|
- job_name: MacOS_10_15_Qt_5_15 (qbs, multibundle)
|
|
|
|
- job_name: MacOS_10_15_Qt_5_15 (qbs, singlebundle)
|
|
|
|
|
2023-02-28 13:31:36 +01:00
|
|
|
environment:
|
|
|
|
CONAN_USER_HOME: /Users/appveyor/.conan
|
2023-03-06 15:34:15 +01:00
|
|
|
HOMEBREW_NO_INSTALL_CLEANUP: 1
|
2023-02-28 13:31:36 +01:00
|
|
|
|
|
|
|
cache:
|
|
|
|
- /Users/appveyor/.conan/data -> conan-cache
|
|
|
|
|
2023-02-22 15:45:53 +01:00
|
|
|
init:
|
2023-02-23 10:12:42 +01:00
|
|
|
- find /Applications -maxdepth 1 -type d -name 'Xcode*.app'
|
2023-02-22 15:45:53 +01:00
|
|
|
- sudo xcode-select -p
|
2023-02-24 13:32:43 +01:00
|
|
|
- sudo xcode-select -s /Applications/Xcode-$XCODE_VERSION.app
|
2023-02-23 10:28:07 +01:00
|
|
|
- sudo xcode-select -p
|
2023-03-06 15:34:15 +01:00
|
|
|
- ls ${HOME}/Qt
|
2023-02-26 09:42:24 +01:00
|
|
|
- export QTDIR="${HOME}/${QT}"
|
2023-03-06 15:34:15 +01:00
|
|
|
- export PATH="$QTDIR/bin:$HOME/.local/bin:`python3 -m site --user-base`/bin:${HOME}/Qt/Qt Creator.app/Contents/MacOS:$PATH"
|
2023-02-25 22:49:58 +01:00
|
|
|
- echo $PATH
|
2023-02-25 16:22:45 +01:00
|
|
|
- python3 --version
|
2023-06-24 14:54:36 +02:00
|
|
|
- pip3 install --user --upgrade pip dropbox conan==1.60
|
2023-03-07 08:50:45 +01:00
|
|
|
- conan --version
|
2023-02-22 15:45:53 +01:00
|
|
|
- clang --version
|
|
|
|
- qmake --version
|
|
|
|
- which qmake
|
|
|
|
- qbs --version
|
|
|
|
|
|
|
|
before_build:
|
|
|
|
- cd ${APPVEYOR_BUILD_FOLDER}
|
|
|
|
|
|
|
|
build_script:
|
|
|
|
- pwd
|
2023-03-07 08:50:45 +01:00
|
|
|
- conan install . -s os=Macos -s os.version=${MACOS_DEPLOYMENT_TARGET} --build=missing
|
2023-02-22 15:45:53 +01:00
|
|
|
- qbs setup-toolchains --detect
|
|
|
|
- qbs config --list profiles
|
2023-02-25 10:59:12 +01:00
|
|
|
- qbs setup-qt ${QTDIR}/bin/qmake qt6
|
2023-02-23 10:28:07 +01:00
|
|
|
- qbs config defaultProfile qt6
|
2023-02-22 15:45:53 +01:00
|
|
|
- qbs config profiles.qt6.baseProfile clang
|
2023-05-12 19:21:29 +02:00
|
|
|
- qbs build -f valentina.qbs -d ${APPVEYOR_BUILD_FOLDER}/build --jobs $(nproc) config:release modules.buildconfig.enableUnitTests:false modules.buildconfig.enableMultiBundle:${MULTI_BUNDLE} qbs.installRoot:${APPVEYOR_BUILD_FOLDER}/build/install-root profile:qt6 project.enableConan:true project.minimumMacosVersion:${MACOS_DEPLOYMENT_TARGET} modules.buildconfig.enableCcache:false
|
2023-02-22 15:45:53 +01:00
|
|
|
|
|
|
|
deploy_script:
|
2023-02-26 12:00:40 +01:00
|
|
|
- CIRRUS_WORKING_DIR=${APPVEYOR_BUILD_FOLDER} CIRRUS_CHANGE_IN_REPO=${APPVEYOR_REPO_COMMIT} CIRRUS_BRANCH=${APPVEYOR_REPO_BRANCH} ${APPVEYOR_BUILD_FOLDER}/scripts/cirrus-deploy.sh
|
2023-02-22 15:45:53 +01:00
|
|
|
|
|
|
|
-
|
|
|
|
matrix:
|
|
|
|
only:
|
|
|
|
- job_name: MacOS_10_15_Qt_5_15 (make)
|
|
|
|
|
|
|
|
init:
|
2023-02-26 09:42:24 +01:00
|
|
|
- export QTDIR="${HOME}/${QT}"
|
2023-02-25 17:01:14 +01:00
|
|
|
- export PATH="$QTDIR/bin:$PATH"
|
2023-02-25 10:59:12 +01:00
|
|
|
- echo $PATH
|
2023-02-24 19:54:09 +01:00
|
|
|
- find /Applications -maxdepth 1 -type d -name 'Xcode*.app'
|
2023-02-22 15:45:53 +01:00
|
|
|
- sudo xcode-select -p
|
2023-02-24 13:32:43 +01:00
|
|
|
- sudo xcode-select -s /Applications/Xcode-$XCODE_VERSION.app
|
2023-02-23 10:28:07 +01:00
|
|
|
- sudo xcode-select -p
|
2023-02-22 15:45:53 +01:00
|
|
|
- clang --version
|
2023-02-25 10:59:12 +01:00
|
|
|
- qmake --version
|
|
|
|
- which qmake
|
2023-02-22 15:45:53 +01:00
|
|
|
|
|
|
|
before_build:
|
|
|
|
- cd ${APPVEYOR_BUILD_FOLDER}
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
|
|
|
|
build_script:
|
|
|
|
- pwd
|
2023-02-25 10:59:12 +01:00
|
|
|
- qmake ../Valentina.pro -r CONFIG+=noDebugSymbols CONFIG+=checkWarnings CONFIG+=noTests CONFIG+=no_ccache
|
2023-02-22 15:45:53 +01:00
|
|
|
- make -j$(nproc)
|
2016-07-28 12:20:03 +02:00
|
|
|
|
|
|
|
#---------------------------------#
|
|
|
|
# notifications #
|
|
|
|
#---------------------------------#
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
# Email
|
|
|
|
- provider: Email
|
|
|
|
to:
|
|
|
|
- dismine@gmail.com
|
2016-08-16 21:55:27 +02:00
|
|
|
on_build_success: false
|
|
|
|
on_build_failure: true
|
2016-07-28 12:20:03 +02:00
|
|
|
on_build_status_changed: true
|
2016-12-19 11:05:39 +01:00
|
|
|
|