From 1c89c5bd407e7a5d6a2485dbabc964429ba0512f Mon Sep 17 00:00:00 2001 From: BrennanConroy Date: Mon, 11 Jan 2021 09:46:12 -0800 Subject: [PATCH 1/6] Add newer compiler leg --- azure-pipelines.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0076e836..b6d975d5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -89,6 +89,17 @@ stages: - bash: "sudo apt install valgrind" displayName: install valgrind + - template: .azure/default-build.yml + parameters: + agentOs: Linux + jobName: Linux_gcc10_Build_Test + useCppRestSDK: false + beforeBuild: + - bash: "sudo apt install valgrind" + displayName: install valgrind + - bash: "sudo apt install g++-10" + displayName: install g++-10 + - template: .azure/default-build.yml parameters: agentOs: Windows From 9ece28a53cbe58d14494dedf1912398b83b63eb6 Mon Sep 17 00:00:00 2001 From: BrennanConroy Date: Mon, 11 Jan 2021 09:52:40 -0800 Subject: [PATCH 2/6] try 2 --- .azure/default-build.yml | 2 +- azure-pipelines.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.azure/default-build.yml b/.azure/default-build.yml index 429bcc57..c61d3643 100644 --- a/.azure/default-build.yml +++ b/.azure/default-build.yml @@ -26,7 +26,7 @@ jobs: ${{ if eq(parameters.agentOs, 'macOS') }}: vmImage: macOS-10.14 ${{ if eq(parameters.agentOs, 'Linux') }}: - vmImage: ubuntu-16.04 + vmImage: ubuntu-18.04 ${{ if eq(parameters.agentOs, 'Windows') }}: vmImage: windows-2019 steps: diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b6d975d5..04603d8e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -97,7 +97,7 @@ stages: beforeBuild: - bash: "sudo apt install valgrind" displayName: install valgrind - - bash: "sudo apt install g++-10" + - bash: "sudo add-apt-repository ppa:ubuntu-toolchain-r/test && sudo apt-get update && sudo apt install g++-10" displayName: install g++-10 - template: .azure/default-build.yml From bbdccada46f8feb65ebca5679e7c44b42e9f3a95 Mon Sep 17 00:00:00 2001 From: BrennanConroy Date: Mon, 11 Jan 2021 09:56:31 -0800 Subject: [PATCH 3/6] again --- .azure/default-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure/default-build.yml b/.azure/default-build.yml index c61d3643..429bcc57 100644 --- a/.azure/default-build.yml +++ b/.azure/default-build.yml @@ -26,7 +26,7 @@ jobs: ${{ if eq(parameters.agentOs, 'macOS') }}: vmImage: macOS-10.14 ${{ if eq(parameters.agentOs, 'Linux') }}: - vmImage: ubuntu-18.04 + vmImage: ubuntu-16.04 ${{ if eq(parameters.agentOs, 'Windows') }}: vmImage: windows-2019 steps: From a87c6257e52612dbb48c9e52f921d12f241bd1a9 Mon Sep 17 00:00:00 2001 From: BrennanConroy Date: Mon, 11 Jan 2021 10:04:04 -0800 Subject: [PATCH 4/6] another --- .azure/default-build.yml | 2 +- azure-pipelines.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.azure/default-build.yml b/.azure/default-build.yml index 429bcc57..98401df6 100644 --- a/.azure/default-build.yml +++ b/.azure/default-build.yml @@ -26,7 +26,7 @@ jobs: ${{ if eq(parameters.agentOs, 'macOS') }}: vmImage: macOS-10.14 ${{ if eq(parameters.agentOs, 'Linux') }}: - vmImage: ubuntu-16.04 + vmImage: ubuntu-20.04 ${{ if eq(parameters.agentOs, 'Windows') }}: vmImage: windows-2019 steps: diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 04603d8e..e7944d5c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -97,8 +97,8 @@ stages: beforeBuild: - bash: "sudo apt install valgrind" displayName: install valgrind - - bash: "sudo add-apt-repository ppa:ubuntu-toolchain-r/test && sudo apt-get update && sudo apt install g++-10" - displayName: install g++-10 + - bash: "sudo apt install g++ && g++ --version" + displayName: install g++ - template: .azure/default-build.yml parameters: From 29cff527c86eb9fa940a759695d76078560dc229 Mon Sep 17 00:00:00 2001 From: BrennanConroy Date: Mon, 11 Jan 2021 10:07:25 -0800 Subject: [PATCH 5/6] version --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e7944d5c..34883b87 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -97,7 +97,7 @@ stages: beforeBuild: - bash: "sudo apt install valgrind" displayName: install valgrind - - bash: "sudo apt install g++ && g++ --version" + - bash: "sudo apt install g++-10 && g++ --version" displayName: install g++ - template: .azure/default-build.yml From b449dfb2c8ea070906287d30722f125f83034995 Mon Sep 17 00:00:00 2001 From: BrennanConroy Date: Mon, 11 Jan 2021 10:45:16 -0800 Subject: [PATCH 6/6] cxx --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 34883b87..1aefb86f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -97,8 +97,8 @@ stages: beforeBuild: - bash: "sudo apt install valgrind" displayName: install valgrind - - bash: "sudo apt install g++-10 && g++ --version" - displayName: install g++ + variables: + CXX: g++-10 - template: .azure/default-build.yml parameters: