From 8fbd8a9970c00b78bde6cc7cfdf76c9650095a88 Mon Sep 17 00:00:00 2001 From: Silarn Date: Wed, 8 May 2019 23:10:43 -0500 Subject: [PATCH 1/5] Set appveyor image to VS 2019 Preview --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 49f6549..36512ad 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= From 143d3d52f607e3f4e9857718b13d158f5332c05a Mon Sep 17 00:00:00 2001 From: Silarn Date: Tue, 21 May 2019 01:37:32 -0500 Subject: [PATCH 2/5] Unify artifacts source path to install path --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 36512ad..ae060cd 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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: ..\..\..\install\bin\helper.exe name: helper_exe -- path: vsbuild\src\RelWithDebInfo\helper.pdb +- path: ..\..\..\install\pdb\helper.pdb name: helper_pdb on_success: - ps: Set-Location -Path $env:APPVEYOR_BUILD_FOLDER From 374685e89e9635bde480e96685a7e5a962771a67 Mon Sep 17 00:00:00 2001 From: Silarn Date: Tue, 21 May 2019 02:28:11 -0500 Subject: [PATCH 3/5] Switch to local build files as appveyor can't use installed files --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index ae060cd..d6cbc9a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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: ..\..\..\install\bin\helper.exe +- path: build\src\helper.exe name: helper_exe -- path: ..\..\..\install\pdb\helper.pdb +- path: build\src\helper.pdb name: helper_pdb on_success: - ps: Set-Location -Path $env:APPVEYOR_BUILD_FOLDER From 7dc08a44a1577b37fc85608e1d483a096936db2e Mon Sep 17 00:00:00 2001 From: Silarn Date: Tue, 21 May 2019 23:46:16 -0500 Subject: [PATCH 4/5] Add logs to build artifacts on CI fail, commit translation changes --- appveyor.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index d6cbc9a..4ce6e71 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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 From 19341e54b02cac555ded2374a7928f16c01ca9ca Mon Sep 17 00:00:00 2001 From: Silarn Date: Wed, 22 May 2019 02:04:38 -0500 Subject: [PATCH 5/5] Set optimization for release builds --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)