Skip to content

Commit

Permalink
Merge pull request #83 from fiendish/yaml
Browse files Browse the repository at this point in the history
Release and Debug builds
  • Loading branch information
fiendish authored Jan 20, 2024
2 parents 5f1ca25 + 74c47e5 commit c015b7d
Showing 1 changed file with 31 additions and 4 deletions.
35 changes: 31 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ branches:
- master

skip_tags: true
configuration: Release
configuration:
- Release
- Debug

environment:
auth_token:
Expand All @@ -17,21 +19,46 @@ build:
parallel: true
verbosity: normal

artifacts:
- path: WinRel\MUSHclient.exe
name: MUSHclient_Release
type: File
- path: WinDebug\MUSHclient.exe
name: MUSHclient_Debug
type: File
- path: WinDebug\MUSHclient.pdb
name: MUSHclient_Debug_PDB
type: File

before_deploy:
- '"C:\Program Files (x86)\Windows Kits\8.1\bin\x64\mt.exe" -manifest MUSHclient.exe.manifest -updateresource:WinRel\MUSHclient.exe;#1'
- ps: Push-AppveyorArtifact WinRel\MUSHclient.exe -FileName MUSHclient.exe
- ps: >
$path = if ($env:CONFIGURATION -eq "Release") { "WinRel\MUSHclient.exe" } else { "WinDebug\MUSHclient.exe" }
& "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\mt.exe" -manifest MUSHclient.exe.manifest -updateresource:$path`;#1
- git config --global credential.helper store
- ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:auth_token):[email protected]`n"
- git tag -f latest_commit HEAD
- git push -f origin latest_commit

deploy:
- provider: GitHub
tag: latest_commit_debug
auth_token:
secure: 8hkN/U/UWTSiR0XJovrM+FLbNe51eigL7viOQEP1Hy+5uP8kTthMF+2SUifn7OUM
artifact: MUSHclient_Debug,MUSHclient_Debug_PDB
prerelease: true
force_update: true
on:
branch: master
appveyor_repo_tag: false
configuration: Debug
- provider: GitHub
tag: latest_commit
auth_token:
secure: 8hkN/U/UWTSiR0XJovrM+FLbNe51eigL7viOQEP1Hy+5uP8kTthMF+2SUifn7OUM
artifact: MUSHclient.exe
artifact: MUSHclient_Release
prerelease: true
force_update: true
on:
branch: master
appveyor_repo_tag: false
configuration: Release

0 comments on commit c015b7d

Please sign in to comment.