From 2234df7ec0eab99c3ee4157305dcf3d8dbe4bbf1 Mon Sep 17 00:00:00 2001 From: Hamid Asadi <94477661+HamiedAsadi@users.noreply.github.com> Date: Tue, 14 Feb 2023 11:51:20 -0500 Subject: [PATCH] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 000000000..f99ba79ec --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,40 @@ +# Starter pipeline +# Add steps that build, run tests, deploy, and more: +# https://aka.ms/yaml + +trigger: +- development + +pool: + vmImage: ubuntu-latest + +steps: +- task: DotNetCoreCLI@2 + inputs: + command: 'restore' + projects: '**/*.src' + feedsToUse: 'select' + vstsFeed: '7212217e-ddc3-4db0-ba05-e61e58e931b8' +- task: DotNetCoreCLI@2 + inputs: + command: 'build' + projects: '**/*.src' +- task: CMake@1 + inputs: + cmakeArgs: +- task: DotNetCoreCLI@2 + inputs: + command: 'test' + projects: '**/*.test' + +- task: CopyFiles@2 + inputs: + SourceFolder: '$(System.DefaultWorkingDirectory) GOMC-WSU/GOMC/bin' + Contents: '**' + TargetFolder: '$(Build.ArtifactStagingDirectory)' +- task: PublishBuildArtifacts@1 + inputs: + PathtoPublish: '$(Build.ArtifactStagingDirectory)' + ArtifactName: 'drop' + publishLocation: 'Container' +