From 0eeaff9273f563481c7b6aa25a88ca90342aa6d7 Mon Sep 17 00:00:00 2001 From: Patrick Bos Date: Tue, 30 Jul 2019 10:34:25 +0200 Subject: [PATCH 1/7] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000000000..aa912913dedf1 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,19 @@ +# Starter pipeline +# Start with a minimal pipeline that you can customize to build and deploy your code. +# Add steps that build, run tests, deploy, and more: +# https://aka.ms/yaml + +trigger: +- master + +pool: + vmImage: 'ubuntu-latest' + +steps: +- script: echo Hello, world! + displayName: 'Run a one-line script' + +- script: | + echo Add other tasks to build, test, and deploy your project. + echo See https://aka.ms/yaml + displayName: 'Run a multi-line script' From a5c1755f368b535dfddfed1bbad3fb27e14cb63e Mon Sep 17 00:00:00 2001 From: Patrick Bos Date: Tue, 30 Jul 2019 10:50:39 +0200 Subject: [PATCH 2/7] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index aa912913dedf1..f0b9615f40aee 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -10,10 +10,10 @@ pool: vmImage: 'ubuntu-latest' steps: -- script: echo Hello, world! - displayName: 'Run a one-line script' - - script: | - echo Add other tasks to build, test, and deploy your project. - echo See https://aka.ms/yaml - displayName: 'Run a multi-line script' + sudo apt install -y fftw3 gfortran gcc-8 + +- task: CMake@1 + inputs: + workingDirectory: 'build-cmake-debug' + cmakeArgs: '-Droofit=ON -Dminuit2=ON -DLLVM_BUILD_TYPE=Debug -Dtesting=ON' From 924106139cfd7c62aaaa50919c059da635b4fa7c Mon Sep 17 00:00:00 2001 From: Patrick Bos Date: Tue, 30 Jul 2019 10:54:59 +0200 Subject: [PATCH 3/7] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f0b9615f40aee..537bdd383b3da 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -11,6 +11,7 @@ pool: steps: - script: | + sudo apt update -y sudo apt install -y fftw3 gfortran gcc-8 - task: CMake@1 From 1727247f52b3a11bec2baf12153aef3facdcd4c0 Mon Sep 17 00:00:00 2001 From: Patrick Bos Date: Tue, 30 Jul 2019 11:15:52 +0200 Subject: [PATCH 4/7] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 537bdd383b3da..d527c5320dd6e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,5 +16,11 @@ steps: - task: CMake@1 inputs: - workingDirectory: 'build-cmake-debug' - cmakeArgs: '-Droofit=ON -Dminuit2=ON -DLLVM_BUILD_TYPE=Debug -Dtesting=ON' + workingDirectory: '$(Build.SourcesDirectory)/build-cmake-debug' + cmakeArgs: '$(Build.SourcesDirectory) -DCMAKE_BUILD_TYPE=Debug -Droofit=ON -Dminuit2=ON -DLLVM_BUILD_TYPE=Debug -Dtesting=ON' + +- task: CmdLine@2 + inputs: + script: 'make' + workingDirectory: '$(Build.SourcesDirectory)/build-cmake-debug' + failOnStderr: true From 62abf0cfc9c450d4ac8848c1e2c49badde2d2e76 Mon Sep 17 00:00:00 2001 From: Patrick Bos Date: Tue, 30 Jul 2019 11:20:33 +0200 Subject: [PATCH 5/7] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d527c5320dd6e..b801c20a4e31a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -12,7 +12,7 @@ pool: steps: - script: | sudo apt update -y - sudo apt install -y fftw3 gfortran gcc-8 + sudo apt install -y fftw3 gfortran gcc-8 libxpm-dev - task: CMake@1 inputs: From 8afe3711b66331dadf0828fda8f0235527ad1190 Mon Sep 17 00:00:00 2001 From: Patrick Bos Date: Tue, 30 Jul 2019 11:47:53 +0200 Subject: [PATCH 6/7] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b801c20a4e31a..b6dade93106f1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -24,3 +24,4 @@ steps: script: 'make' workingDirectory: '$(Build.SourcesDirectory)/build-cmake-debug' failOnStderr: true + timeoutInMinutes: 120 From a622b0e5318b29665af9612a9593ac3e6fd37fdb Mon Sep 17 00:00:00 2001 From: Patrick Bos Date: Tue, 30 Jul 2019 13:01:37 +0200 Subject: [PATCH 7/7] Update azure-pipelines.yml for Azure Pipelines Unlimited timeout --- azure-pipelines.yml | 39 ++++++++++++++++++--------------------- 1 file changed, 18 insertions(+), 21 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b6dade93106f1..a914eb9bed541 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,27 +1,24 @@ -# Starter pipeline -# Start with a minimal pipeline that you can customize to build and deploy your code. -# Add steps that build, run tests, deploy, and more: -# https://aka.ms/yaml - trigger: - master -pool: - vmImage: 'ubuntu-latest' +jobs: + - job: build + timeoutInMinutes: 0 + pool: + vmImage: 'ubuntu-latest' -steps: -- script: | - sudo apt update -y - sudo apt install -y fftw3 gfortran gcc-8 libxpm-dev + steps: + - script: | + sudo apt update -y + sudo apt install -y fftw3 gfortran gcc-8 libxpm-dev -- task: CMake@1 - inputs: - workingDirectory: '$(Build.SourcesDirectory)/build-cmake-debug' - cmakeArgs: '$(Build.SourcesDirectory) -DCMAKE_BUILD_TYPE=Debug -Droofit=ON -Dminuit2=ON -DLLVM_BUILD_TYPE=Debug -Dtesting=ON' + - task: CMake@1 + inputs: + workingDirectory: '$(Build.SourcesDirectory)/build-cmake-debug' + cmakeArgs: '$(Build.SourcesDirectory) -DCMAKE_BUILD_TYPE=Debug -Droofit=ON -Dminuit2=ON -DLLVM_BUILD_TYPE=Debug -Dtesting=ON' -- task: CmdLine@2 - inputs: - script: 'make' - workingDirectory: '$(Build.SourcesDirectory)/build-cmake-debug' - failOnStderr: true - timeoutInMinutes: 120 + - task: CmdLine@2 + inputs: + script: 'make' + workingDirectory: '$(Build.SourcesDirectory)/build-cmake-debug' + failOnStderr: true