From a346eb3e12a24704905c222d99907589994cbfa8 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Tue, 1 Oct 2019 17:26:36 +0200 Subject: [PATCH] Attempt #1 Azure Pipelines [skip ci] --- azure-pipelines.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000000..ab93dda655 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,25 @@ +trigger: +- master + +pool: + vmImage: 'ubuntu-latest' + +jobs: +- job: Setup + steps: + - script: git submodule init --recursive --update + - script: nuget restore SpaceStation14.sln + +- job: Test + steps: + - script: msbuild SpaceStation14.sln /p:Configuration=Debug /p:Platform=x64 /nologo /m SpaceStation14.sln + - script: mono packages/nunit.consolerunner/3.10.0/tools/nunit3-console.exe bin/Content.Tests/Content.Tests.dll bin/Content.IntegrationTests/Content.IntegrationTests.dll + +- job: Package + steps: + - script: Tools/package_release_build.py -p windows mac linux + - script: mv release/*.zip $(Build.ArtifactStagingDirectory) + - task: PublishPipelineArtifact@1 + inputs: + path: '$(Build.ArtifactStagingDirectory)' + artifactName: 'Builds'