.gitlab-ci.yml 795 Bytes
Newer Older
1 2
stages:
  - Build
3
  - Documentation
4 5
  - Package

6
NET Framework 4.0:
7
  stage: Build
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
  script: "nuget restore & msbuild NChronicle.File_NetFx.csproj /p:Configuration=Release"
  artifacts:
    paths:
    - bin/Release/netfx4.0/

NET Standard 1.4:
  stage: Build
  script: "dotnet build NChronicle.File_NetStandard.csproj -c Release"
  artifacts:
    paths:
    - bin/Release/netstandard1.4/

Documentation:
  stage: Documentation
  script: "msbuild NChronicle.File.shfbproj /p:Configuration=Release"
  dependencies:
  - NET Framework 4.0
  artifacts:
    paths:
    - _Wiki/

Package:
  stage: Package
  script: "nuget pack NChronicle.File.nuspec"
  dependencies:
  - NET Framework 4.0
  - NET Standard 1.4
  artifacts:
    paths:
    - NChronicle.File.*.nupkg