version: 1.0.{build}
install:
  - ps: .\install.ps1
build_script:
  - ps: .\build.ps1
  - nuget pack FFmpeg.Nightly.nuspec
  - ps: Get-ChildItem . *.nupkg | foreach { & nuget add $_ -Source localfeed }
  - nuget restore -Source "%cd%\localfeed"
  - msbuild ffmpeg-nuget.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
artifacts:
  - path: '*.nupkg'
deploy:
  provider: NuGet
  api_key:
    secure: +eaRtuS8FIOb86osYZasM+ZoAv/569NG1sMoK08rCTzo67s5r/e1FTgoCrIOTvOK
  artifact: /.*\.nupkg/
  on:
    appveyor_repo_tag: true

version: 1.0.{build}
install:
  - ps: .\install.ps1
build_script:
  - ps: .\build.ps1
  - nuget pack FFmpeg.Nightly.nuspec
  - ps: Get-ChildItem . *.nupkg | foreach { & nuget add $_ -Source localfeed }
  - nuget restore -Source "%cd%\localfeed"
  - msbuild ffmpeg-nuget.sln /p:Configuration=Debug /p:Platform=Win32 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
  - msbuild ffmpeg-nuget.sln /p:Configuration=Release /p:Platform=Win32 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
  - msbuild ffmpeg-nuget.sln /p:Configuration=Debug /p:Platform=x64 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
  - msbuild ffmpeg-nuget.sln /p:Configuration=Release /p:Platform=x64 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
artifacts:
  - path: '*.nupkg'
deploy:
  provider: NuGet
  api_key:
    secure: +eaRtuS8FIOb86osYZasM+ZoAv/569NG1sMoK08rCTzo67s5r/e1FTgoCrIOTvOK
  artifact: /.*\.nupkg/
  on:
    appveyor_repo_tag: true

Build all configurations and platforms of examples.
Build all configurations and platforms of examples.
