porymap/appveyor.yml

35 lines
1.1 KiB
YAML
Raw Permalink Normal View History

2018-10-11 03:56:19 +01:00
install:
- set QTDIR=C:\Qt\5.11.1\mingw53_32
- set PATH=%PATH%;%QTDIR%\bin;C:\MinGW\bin
build_script:
2018-10-11 04:38:02 +01:00
- qmake porymap.pro -config release
2018-10-11 04:12:22 +01:00
- mingw32-make -j2
2018-10-11 04:38:02 +01:00
- windeployqt release/porymap.exe
2018-10-11 04:08:12 +01:00
2018-10-11 13:29:17 +01:00
before_deploy:
- pwd
- ls
2018-10-11 13:33:26 +01:00
- ls release
- ls -R
# - find . -type f -name "*.exe"
2018-10-11 13:20:36 +01:00
# - git config --local user.name $(git log -1 $TRAVIS_COMMIT --pretty="%aN")
# - git config --local user.email $(git log -1 $TRAVIS_COMMIT --pretty="%cE")
# - git tag "$(git log --format=%h -1)-mac"
2018-10-11 04:08:12 +01:00
deploy:
#release: myproduct-v$(appveyor_build_version)
2018-10-11 04:19:29 +01:00
description: 'Built by AppVeyor'
2018-10-11 04:08:12 +01:00
provider: GitHub
2018-10-11 13:06:23 +01:00
repository: garakmon/porymap
2018-10-11 13:29:17 +01:00
skip_cleanup: true
2018-10-11 04:08:12 +01:00
auth_token:
2018-10-11 04:38:02 +01:00
secure: MLSwoIXXuZaI9iKbxUSX7ErtiRW8Q9MSuPOqS8EYJj68f4sx8eERXWBLX7MpmmEb
2018-10-11 13:29:17 +01:00
artifact: C:\projects\porymap\release\porymap.exe #release #porymap.pro #/.*\.nupkg/ # upload all NuGet packages to release assets
2018-10-11 04:08:12 +01:00
draft: false
2018-10-11 13:20:36 +01:00
prerelease: false
2018-10-11 04:08:12 +01:00
on:
2018-10-11 04:12:22 +01:00
#all_branches: true #
branch: travis-ci # release from master branch only
2018-10-11 04:23:40 +01:00
#appveyor_repo_tag: true # deploy on tag push only