1 Star 0 Fork 24

lvgo12/TransformCoordinate

forked from kl222/TransformCoordinate 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
appveyor.yml 5.53 KB
一键复制 编辑 原始数据 按行查看 历史
kl222 提交于 2023-07-07 16:36 . CI: modify mingw.yml
# 作者:康林<[email protected]>
#TODO: Change version
version: 'v0.0.10.{build}'
environment:
STOREPASS:
secure: l9BZEU39F1a4vSkhwl0CHR+yh6CD1c7byGzMv+1NUa4=
QT_USER:
secure: EoBPaPuJ6u9UDYpQWjKhUg==
QT_PASSWORD:
secure: ejAYGgB+3sBispRxUSr0xw==
BUILD_VERSION: "v0.0.10"
matrix:
##### msvc 2013 ########
- BUILD_TARGERT: windows_msvc
GENERATORS: "Visual Studio 12 2013"
TOOLCHAIN_VERSION: 12
QT_ROOT: C:\Qt\5.6\msvc2013
BUILD_ARCH: x86
- BUILD_TARGERT: windows_msvc
GENERATORS: "Visual Studio 12 2013 Win64"
TOOLCHAIN_VERSION: 12
QT_ROOT: C:\Qt\5.6\msvc2013_64
BUILD_ARCH: x64
##### msvc 2015 ########
- BUILD_TARGERT: windows_msvc
GENERATORS: "Visual Studio 14 2015"
TOOLCHAIN_VERSION: 14
QT_ROOT: C:\Qt\5.10\msvc2015
BUILD_ARCH: x86
- BUILD_TARGERT: windows_msvc
GENERATORS: "Visual Studio 14 2015 Win64"
TOOLCHAIN_VERSION: 14
QT_ROOT: C:\Qt\5.10\msvc2015_64
BUILD_ARCH: x64
- BUILD_TARGERT: windows_msvc
GENERATORS: "Visual Studio 14 2015"
TOOLCHAIN_VERSION: 14
QT_ROOT: C:\Qt\5.6\msvc2015
BUILD_ARCH: x86
- BUILD_TARGERT: windows_msvc
GENERATORS: "Visual Studio 14 2015 Win64"
TOOLCHAIN_VERSION: 14
QT_ROOT: C:\Qt\5.6\msvc2015_64
BUILD_ARCH: x64
##### msvc 2017 ########
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
GENERATORS: "Visual Studio 15 2017"
BUILD_TARGERT: windows_msvc
TOOLCHAIN_VERSION: 15
QT_ROOT: C:\Qt\5.12\msvc2017
BUILD_ARCH: x86
STATIC: ON
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
GENERATORS: "Visual Studio 15 2017 Win64"
BUILD_TARGERT: windows_msvc
TOOLCHAIN_VERSION: 15
QT_ROOT: C:\Qt\5.12\msvc2017_64
BUILD_ARCH: x64
STATIC: ON
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
GENERATORS: "Visual Studio 15 2017 Win64"
BUILD_TARGERT: windows_msvc
TOOLCHAIN_VERSION: 15
QT_ROOT: C:\Qt\5.10\msvc2017_64
BUILD_ARCH: x64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
GENERATORS: "Visual Studio 15 2017 Win64"
BUILD_TARGERT: windows_msvc
TOOLCHAIN_VERSION: 15
QT_ROOT: C:\Qt\5.9\msvc2017_64
BUILD_ARCH: x64
##### mingw ########
- BUILD_TARGERT: windows_mingw
GENERATORS: "MSYS Makefiles"
TOOLCHAIN_VERSION: 492_32
QT_ROOT: C:\Qt\5.6\mingw49_32
BUILD_ARCH: x86
- BUILD_TARGERT: windows_mingw
GENERATORS: "MSYS Makefiles"
TOOLCHAIN_VERSION: 530_32
QT_ROOT: C:\Qt\5.10\mingw53_32
BUILD_ARCH: x86
- BUILD_TARGERT: windows_mingw
GENERATORS: "MSYS Makefiles"
TOOLCHAIN_VERSION: 730_64
QT_ROOT: C:\Qt\5.12\mingw73_64
BUILD_ARCH: x64
matrix:
fast_finish: false
init:
- set varch=%BUILD_ARCH%
- if "%BUILD_ARCH%" == "x64" set varch=amd64
- if "%BUILD_TARGERT%" == "windows_msvc" if %TOOLCHAIN_VERSION% LSS 15 (call "C:\Program Files (x86)\Microsoft Visual Studio %TOOLCHAIN_VERSION%.0\VC\vcvarsall.bat" %varch%) else (call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" %varch%)
- echo NUMBER_OF_PROCESSORS=%NUMBER_OF_PROCESSORS%
- echo PROCESSOR_IDENTIFIER=%PROCESSOR_IDENTIFIER%
- if NOT "%QT_ROOT%" == "NO" for /f "delims=" %%i in ('%QT_ROOT%/bin/qmake -query QT_VERSION') do (set QT_VERSION=%%i)
- echo QT_ROOT=%QT_ROOT%
- echo QT_VERSION=%QT_VERSION%
- del C:\msys64\usr\bin\link.exe
- set TransformCoordinate_VERSION="v0.0.10"
install:
- C:\msys64\autorebase.bat
- C:\msys64\usr\bin\pacman.exe -S --noconfirm unzip
#- if "%BUILD_TARGERT%"=="windows_mingw" set PATH=C:\Qt\Tools\mingw%TOOLCHAIN_VERSION%_32\bin;%PATH%
- if "%BUILD_TARGERT%" == "windows_mingw" set MSYSTEM=MINGW32 #设置编译系统为MINGW32
before_build:
- cd %APPVEYOR_BUILD_FOLDER%
#- git submodule update --init --recursive
- git clone https://github.com/KangLin/RabbitCommon.git
- set RabbitCommon_DIR=%APPVEYOR_BUILD_FOLDER%/RabbitCommon
- if "%BUILD_TARGERT%" == "android" C:\msys64\usr\bin\bash.exe %APPVEYOR_BUILD_FOLDER%\ci\build-install-tools-windows.sh
build_script:
- set CMAKE_VERSION=3.26.4
- if not exist cmake-%CMAKE_VERSION%-windows-i386 (curl -fsSL -o cmake-%CMAKE_VERSION%-windows-i386.zip https://github.com/Kitware/CMake/releases/download/v%CMAKE_VERSION%/cmake-%CMAKE_VERSION%-windows-i386.zip && 7z x cmake-%CMAKE_VERSION%-windows-i386.zip)
- cd cmake-%CMAKE_VERSION%-windows-i386
- set PATH="%CD%/bin";%PATH%
- cd %APPVEYOR_BUILD_FOLDER%
- C:\msys64\usr\bin\bash.exe %APPVEYOR_BUILD_FOLDER%\ci\build.sh
- cd %APPVEYOR_BUILD_FOLDER%\build_$(BUILD_TARGERT)
- copy /Y TransformCoordinate_Setup_%TransformCoordinate_VERSION%.exe TransformCoordinate_%TransformCoordinate_VERSION%_qt%QT_VERSION%_Setup.exe
artifacts:
- path: build_$(BUILD_TARGERT)\TransformCoordinate_%TransformCoordinate_VERSION%_qt%QT_VERSION%_Setup.exe
name: TransformCoordinate_$(BUILD_TARGERT)$(TOOLCHAIN_VERSION)_$(BUILD_ARCH)_$(QT_VERSION)_$(appveyor_build_version)
type: zip
test: off
#See:https://www.appveyor.com/docs/deployment/github/
deploy:
- provider: GitHub
#release: TransformCoordinate-$(appveyor_build_version)
description: 'Release TransformCoordinate $(APPVEYOR_REPO_TAG_NAME) on windows'
#token : https://github.com/settings/tokens password encrypt: https://ci.appveyor.com/tools/encrypt
auth_token:
secure: g7JyppMs3R6LHgau/3Ud1X0Mmj4sXkeo75Jy5saIwp75E+f5vFbJPUTAm0VXULKh
on:
BUILD_TARGERT: windows_msvc
TOOLCHAIN_VERSION: 14
QT_VERSION: 5.6.3
BUILD_ARCH: x86
appveyor_repo_tag: true # deploy on tag push only
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/lvgo12/TransformCoordinate.git
[email protected]:lvgo12/TransformCoordinate.git
lvgo12
TransformCoordinate
TransformCoordinate
master

搜索帮助