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 ..
  - 7z a 'NazaraEngine-%CONFIGURATION%-%PLATFORM%-%APPVEYOR_REPO_COMMIT%.7z' package/*

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

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.7z *

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

Revert to a working state
Revert to a working state


Former-commit-id: fd3f668245f3c66a628e94181610c7a178737282 [formerly 3ff8141666b3d6f9ea3f6969134513c0f6759de7] [formerly 13ed9a7bf8df2541b70fd47c3938f0cc0650bfd4 [formerly 23e1af3685ea2a62050d2f1971af48437c6cfecf]]
Former-commit-id: 185382aee986817032ff0cfc5fee4f8a6228e4a1 [formerly bc99148544c04c52635cfac73ed9d0c15f8f81c6]
Former-commit-id: eb289943f34501e896f1e7a4561a65965b600dd0