diff --git a/CMakeLists.txt b/CMakeLists.txt index 13af5a5..9ac8e25 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12) -ADD_COMPILE_OPTIONS($<$:/MP>) +ADD_COMPILE_OPTIONS($<$:/MP> $<$:$<$:/O2>> $<$:$<$:/O2>>) PROJECT(helper) diff --git a/appveyor.yml b/appveyor.yml index 49f6549..4ce6e71 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,6 +1,6 @@ version: 1.0.{build} skip_branch_with_pr: true -image: Visual Studio 2017 +image: Visual Studio 2019 Preview environment: WEBHOOK_URL: secure: gOKbXaZM9ImtMD5XrYITvdyZUW/az082G9OIN1EC1Vbg57wBaeLhi49uGjxPw5GVujHku6kxN6ab89zhbS5GVeluR76GM83IbKV4Sh7udXzoYZZdg6YudtYHzdhCgUeiedpswbuczTq9ceIkkfSEWZuh/lMAAVVwvcGsJAnoPFw= @@ -14,9 +14,9 @@ build_script: C:\Python37-x64\python.exe unimake.py -d c:\projects\modorganizer-build -s Appveyor_Build=True %APPVEYOR_PROJECT_NAME% artifacts: -- path: vsbuild\src\RelWithDebInfo\helper.exe +- path: build\src\helper.exe name: helper_exe -- path: vsbuild\src\RelWithDebInfo\helper.pdb +- path: build\src\helper.pdb name: helper_pdb on_success: - ps: Set-Location -Path $env:APPVEYOR_BUILD_FOLDER @@ -24,5 +24,7 @@ on_success: - ps: ./send.ps1 success $env:WEBHOOK_URL on_failure: - ps: Set-Location -Path $env:APPVEYOR_BUILD_FOLDER + - ps: Push-AppveyorArtifact ${env:APPVEYOR_BUILD_FOLDER}\stdout.log + - ps: Push-AppveyorArtifact ${env:APPVEYOR_BUILD_FOLDER}\stderr.log - ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1 - ps: ./send.ps1 failure $env:WEBHOOK_URL \ No newline at end of file