try to speed up appveyor and another try at making azure produce a good build

This commit is contained in:
Cancerous 2019-09-06 17:37:55 -04:00
parent 25df5a6e94
commit 648c241479
3 changed files with 14 additions and 6 deletions

View File

@ -1,5 +1,10 @@
version: 1.0.{build}-{branch}
clone_depth: 50
matrix:
fast_finish: true
branches:
except:
- gh-pages
@ -54,13 +59,13 @@ artifacts:
deploy:
- provider: Environment
name: xenia-master
name: xenia-canary
release: xenia-$(appveyor_repo_branch)-v$(appveyor_build_version)
artifact: xenia-$(appveyor_repo_branch).zip,xenia-vfs-dump-$(appveyor_repo_branch).zip
draft: false
prerelease: true
on:
branch: master
branch: canary
configuration: release
appveyor_repo_tag: true
is_not_pr: true

View File

@ -30,7 +30,7 @@ pr:
jobs:
- job:
pool:
vmImage: windows-latest
vmImage: vs2017-win2016
strategy:
matrix:
Release:

View File

@ -53,7 +53,7 @@ filter("configurations:Checked")
runtime("Debug")
filter({"configurations:Checked", "platforms:Windows"})
buildoptions({
"/RTCsu", -- Full Run-Time Checks.
"/RTCsu /MP", -- Full Run-Time Checks.
})
filter("configurations:Debug")
@ -67,7 +67,10 @@ filter({"configurations:Debug", "platforms:Windows"})
linkoptions({
"/NODEFAULTLIB:MSVCRTD",
})
buildoptions({
"/MP",
})
filter({"configurations:Debug", "platforms:Linux"})
buildoptions({
"-g",
@ -91,7 +94,7 @@ filter({"configurations:Release", "platforms:Windows"})
"/NODEFAULTLIB:MSVCRTD",
})
buildoptions({
"/GT", -- enable fiber-safe optimizations
"/arch:AVX /GT /MD /MP /O2 /Ot", -- allthethings
})
filter("platforms:Linux")