1 Star 0 Fork 1

yinyigame / tiled

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
appveyor.yml 4.30 KB
一键复制 编辑 原始数据 按行查看 历史
clone_depth: 200
version: '1.3.{build}'
cache:
- C:\Users\appveyor\.m2
- C:\ProgramData\chocolatey\bin -> appveyor.yml
- C:\ProgramData\chocolatey\lib -> appveyor.yml
environment:
BUTLER_API_KEY:
secure: j7JM5L6KeqpnQukzJLsm7J6oV92SpmyEZLSoED1pZ3gQ79VIkdxtbQmTkqUNZPsz
matrix:
- QTDIR: C:\Qt\5.12\mingw73_64
PYTHONHOME: C:\Python37-x64
MINGW: C:\Qt\Tools\mingw730_64
DEFAULT_PROFILE: x86_64-w64-mingw32
PUSH_RELEASE: true
TILED_ITCH_CHANNEL: windows-64bit
- QTDIR: C:\Qt\5.6\mingw49_32
PYTHONHOME: C:\Python37
MINGW: C:\Qt\Tools\mingw492_32
DEFAULT_PROFILE: i686-w64-mingw32
PUSH_RELEASE: false
TILED_ITCH_CHANNEL: winxp-32bit
configuration: Release
install:
- choco install -y qbs --version 1.13.1
- nuget install secure-file -ExcludeVersion
- set PATH=%PATH%;%QTDIR%\bin;%MINGW%\bin
build_script:
- FOR /F "tokens=*" %%i in ('git describe') do SET COMMITNOW=%%i
- set VERSION_DATE=%DATE:~10,4%.%DATE:~4,2%.%DATE:~7,2%
- if defined APPVEYOR_REPO_TAG_NAME (set TILED_RELEASE=true) else (set TILED_SNAPSHOT=true)
- if defined TILED_RELEASE set TILED_VERSION=%APPVEYOR_REPO_TAG_NAME:~1%
- if defined TILED_RELEASE echo Building Tiled %TILED_VERSION%... (from %COMMITNOW%)
- if defined TILED_SNAPSHOT set TILED_VERSION=%APPVEYOR_BUILD_VERSION%
- if defined TILED_SNAPSHOT echo Building Tiled snapshot %TILED_VERSION%... (from %COMMITNOW%)
- git clone --depth 1 -b master https://github.com/facebook/zstd.git
- cd zstd/lib
- set CC=gcc
- mingw32-make -j2 libzstd.a
- cd ../../
- qbs --version
- qbs setup-toolchains --detect
- qbs config defaultProfile %DEFAULT_PROFILE%
- if defined TILED_RELEASE (set TILED_ITCH_VERSION=%TILED_VERSION%) else (set TILED_ITCH_VERSION=%VERSION_DATE%)
- if defined TILED_SNAPSHOT (set TILED_ITCH_CHANNEL=%TILED_ITCH_CHANNEL%-snapshot)
- if not defined APPVEYOR_PULL_REQUEST_NUMBER if [%APPVEYOR_REPO_BRANCH%]==[snapshot] set PUSH_TO_ITCH=true
- qbs build --all-products config:release projects.Tiled.windowsInstaller:true projects.Tiled.enableZstd:true
- qbs build --all-products config:itch qbs.buildVariant:release projects.Tiled.version:%TILED_ITCH_VERSION% projects.Tiled.enableZstd:true
- cd util\java
- mvn --version
- mvn clean install
- cd ..\..
after_build:
- cd release
- cd installer*
- move tiled-*.msi %APPVEYOR_BUILD_FOLDER%
- cd ..\..
- cd itch
- cd archive*
- move tiled-*.7z %APPVEYOR_BUILD_FOLDER%
- cd ..\..
- if defined PUSH_TO_ITCH dist\win\push-to-itch.bat
artifacts:
- name: Installer
path: 'tiled-*.msi'
- name: Archive
path: 'tiled-*.7z'
deploy:
- provider: GitHub
release: Tiled $(TILED_VERSION)
auth_token:
secure: 57ahePdHlJPeOX8/MqsIg5ho4x512wvAbwRA7TkXAOav/JTHvkTG5gf8k37/883r
artifact: /.*\.msi/
draft: true
on:
appveyor_repo_tag: true
push_release: true
- provider: FTP
protocol: sftp
host: update.mapeditor.org
username: update
password:
secure: YPoSL+S82PCgS5PYbhtxQv0YD7uwZAX9LhjJBBbDGvk=
folder: update.mapeditor.org/snapshots-win
artifact: /.*\.(msi|7z)/
on:
branch: snapshot
push_release: true
- provider: Webhook
url: https://app.signpath.io/API/v1/670574d6-49bf-4a0c-824a-3ae977077079/Integrations/AppVeyor?ProjectKey=tiled&SigningPolicyKey=test-signing
authorization:
secure: 4E7IuM1Ftvdkx43gsqI3tUWb6tcvrfKB22sa6DsWaBzT+zv3DqceDCk0qc/JqTO+Er5UQNYwolmWBzMdys6fVA==
on:
appveyor_repo_tag: false
push_release: true
- provider: Webhook
url: https://app.signpath.io/API/v1/670574d6-49bf-4a0c-824a-3ae977077079/Integrations/AppVeyor?ProjectKey=tiled&SigningPolicyKey=release-signing
authorization:
secure: 4E7IuM1Ftvdkx43gsqI3tUWb6tcvrfKB22sa6DsWaBzT+zv3DqceDCk0qc/JqTO+Er5UQNYwolmWBzMdys6fVA==
on:
branch: snapshot
push_release: true
- provider: Webhook
url: https://app.signpath.io/API/v1/670574d6-49bf-4a0c-824a-3ae977077079/Integrations/AppVeyor?ProjectKey=tiled&SigningPolicyKey=release-signing
authorization:
secure: 4E7IuM1Ftvdkx43gsqI3tUWb6tcvrfKB22sa6DsWaBzT+zv3DqceDCk0qc/JqTO+Er5UQNYwolmWBzMdys6fVA==
on:
appveyor_repo_tag: true
push_release: true
notifications:
- provider: Webhook
url: https://webhooks.gitter.im/e/6e48d432e0e0dd1b2d22
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yinyigame/tiled.git
git@gitee.com:yinyigame/tiled.git
yinyigame
tiled
tiled
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891