From 8a1d8cb22fa021e42c4d977d180e143acfc2054e Mon Sep 17 00:00:00 2001 From: Nikolay Petrov Date: Fri, 9 Apr 2021 17:27:57 +0300 Subject: [PATCH] Update azure-pipelines.yml --- azure-pipelines.yml | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 27a798a..4f26321 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -6,14 +6,24 @@ trigger: - master -pool: - vmImage: ubuntu-latest +jobs: +- job: Linux + pool: + vmImage: ubuntu-latest + strategy: + matrix: + lnx32e: + platform.type : 'lnx32e' + steps: + - script: echo ${$(platform.type):3} ; echo ""; echo $(platform.type) + - script: lscpu + displayName: 'Redundant action. Show info about Azure machine.' -steps: -- script: echo Hello, world! - displayName: 'Run a one-line script' + - script: gcc -v; sudo apt-get update && sudo apt-get install gcc-multilib g++-multilib; gcc -v + displayName: 'show gcc version' -- script: | - echo Add other tasks to build, test, and deploy your project. - echo See https://aka.ms/yaml - displayName: 'Run a multi-line script' + - script: mkdir build; cd build; cmake .. ; cmake --build . + displayName: 'Build' + + - script: cd build; ctest + displayName: 'Run testing'