version: '{branch}-rev{build}'

shallow_clone: true

os:
  - Visual Studio 2015

environment:
  matrix:
  - TOOLSET: vs2015

install:
  - cd build && "./premake5.exe" %TOOLSET% && cd ..

configuration:
  - DebugDynamic
  - ReleaseDynamic

platform:
  - Win32
  - x64

build:
  parallel: true
  project: build/$(TOOLSET)/NazaraEngine.sln
  
#after_build:
#  - cd tests && "./NazaraUnitTests"

after_build:
  - cd build && "./premake5.exe" package && cd ../package
  - 7z a NazaraEngine.7z *

artifacts:
  - path: package/NazaraEngine.7z
    name: 'NazaraEngine-$(CONFIGURATION)-$(PLATFORM)-$(APPVEYOR_REPO_COMMIT)'

version: '{branch}-rev{build}'

shallow_clone: true

os:
  - Visual Studio 2015

environment:
  matrix:
  - TOOLSET: vs2015

install:
  - cd build && "./premake5.exe" %TOOLSET% && cd ..

configuration:
  - DebugDynamic
  - ReleaseDynamic

platform:
  - Win32
  - x64

build:
  project: build/$(TOOLSET)/NazaraEngine.sln
  
#after_build:
#  - cd tests && "./NazaraUnitTests"

after_build:
  - cd build && "./premake5.exe" package && cd ../package
  - 7z a 'NazaraEngine-$(CONFIGURATION)-$(PLATFORM)-$(APPVEYOR_REPO_COMMIT).7z' *

artifacts:
  - path: package/NazaraEngine-$(CONFIGURATION)-$(PLATFORM)-$(APPVEYOR_REPO_COMMIT).7z
    name: NazaraEngine

Disable parallel build and try to fix artifact name
Appveyor: Disable parallel build and try to fix artifact name

Former-commit-id: 5716780bd52ad831ab69b3fcea5a71920dd59664 [formerly 79fb5ec5af8b1ef022c1d6b27de26ddb5b0b1e7e] [formerly 03ae2087376e2a98ce2304ff2563125b55bee5b4 [formerly 0bd9976a5849649dade39470314b06206a087a4b]]
Former-commit-id: 3c82c3b6d18cc9d4c212195c2c43a86379366dc9 [formerly 2af5d6582d8ef9583b71a47b97f85740a6c66d70]
Former-commit-id: f6aa9388ec3a1875ee2b47508ca9c26d93e04932