From 713667759d4678fe11e630130e3f34d111cb0853 Mon Sep 17 00:00:00 2001 From: Taras Chornyi <73535074+taraschornyiplv@users.noreply.github.com> Date: Wed, 18 Jan 2023 14:02:08 +0200 Subject: [PATCH] Add simple azure pipilene definition Signed-off-by: Taras Chornyi --- azure-pipelines.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 000000000..9c2cb4e0d --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,36 @@ +# C/C++ with GCC +# Build your C/C++ project with GCC using make. +# Add steps that publish test results, save build artifacts, deploy, and more: +# https://docs.microsoft.com/azure/devops/pipelines/apps/c-cpp/gcc + +trigger: +- main + +jobs: +- job: + pool: + vmImage: ubuntu-latest + displayName: "build" + timeoutInMinutes: 360 + steps: + - task: DockerInstaller@0 + inputs: + dockerVersion: '17.09.0-ce' + - task: UsePythonVersion@0 + inputs: + versionSpec: '3.10' + addToPath: true + architecture: 'x64' + - task: Bash@3 + timeoutInMinutes: 360 + inputs: + targetType: 'inline' + script: | + # Write your commands here + + make docker + - task: PublishBuildArtifacts@1 + inputs: + PathtoPublish: '$(System.DefaultWorkingDirectory)/RELEASE/stretch/arm64/' + ArtifactName: 'dent' + publishLocation: 'Container'