Skip to content

Commit b1cf2ca

Browse files
authored
Explicitly install g++-9 on linux images (microsoft#7889)
This is no longer included by default on the build images.
1 parent eccd3d8 commit b1cf2ca

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

azure-pipelines.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,11 @@ stages:
133133
displayName: 'Installing dependencies'
134134
condition: eq(variables['image'], variables['linux'])
135135
136+
- bash: |
137+
sudo apt-get install g++-9 -y
138+
displayName: 'Installing g++-9'
139+
condition: and(eq(variables['CXX'], 'g++-9'), eq(variables['image'], variables['linux']))
140+
136141
- bash: |
137142
brew update
138143
brew install ninja

0 commit comments

Comments
 (0)