Skip to content

Commit

Permalink
Reorder lines in appveyor.yml to match actual execution order
Browse files Browse the repository at this point in the history
  • Loading branch information
qris committed Jul 23, 2017
1 parent e82f2fa commit b52e899
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions appveyor.yml
Expand Up @@ -37,16 +37,7 @@ init:
# to the generator name if you want a 64-bit build (x64 platform):
- ps: $env:generator_name="$($env:Generator_Base)$(if ($env:PLATFORM.equals('x64')) {' Win64'})"

build:
parallel: true
project: ..\cmake\BoxBackup_Windows.sln
verbosity: minimal

# Remove Xamarin to remove 500 lines of junk from build logs
# http://help.appveyor.com/discussions/problems/4569-the-target-_convertpdbfiles-listed-in-a-beforetargets-attribute-at-c-does-not-exist-in-the-project-and-will-be-ignored
before_build:
- del "C:\Program Files (x86)\MSBuild\4.0\Microsoft.Common.Targets\ImportAfter\Xamarin.Common.targets"

# scripts that run after cloning repository (before the build step, not after!)
install:
# test_bbackupd needs 7zip (or cmake -E tar) to extract tar archives on Windows:
- cinst -y --limit-output 7zip.commandline nsis.portable
Expand Down Expand Up @@ -74,6 +65,16 @@ install:

# Leave the current directory in the correct place to find the solution file using its relative path above.

# Remove Xamarin to remove 500 lines of junk from build logs
# http://help.appveyor.com/discussions/problems/4569-the-target-_convertpdbfiles-listed-in-a-beforetargets-attribute-at-c-does-not-exist-in-the-project-and-will-be-ignored
before_build:
- del "C:\Program Files (x86)\MSBuild\4.0\Microsoft.Common.Targets\ImportAfter\Xamarin.Common.targets"

build:
parallel: true
project: ..\cmake\BoxBackup_Windows.sln
verbosity: minimal

test_script:
- cd %CMAKE_UNIBUILD_DIR%\Build\boxbackup
# - dir
Expand All @@ -82,8 +83,7 @@ test_script:
# - dir %PLATFORM%\%CONFIGURATION%
- ctest -C %CONFIGURATION% -V --interactive-debug-mode 0

# After running tests successfully, and before collecting artifacts, build them and copy them
# to the right place:
# After running tests successfully, build the artifacts that we want to upload:
- cmake --build . --config %CONFIGURATION% --target package

# AppVeyor refuses to package files outside of the project directory, so we need to push them:
Expand Down

0 comments on commit b52e899

Please sign in to comment.