Skip to content

Commit b098ad4

Browse files
committed
Fixing CI: explicitly installing requested gcc version
1 parent 7575f85 commit b098ad4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.azure-pipelines/azure-pipelines-linux-gcc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
steps:
2424

2525
- script: |
26-
if [[ $(gcc_version) == '4.9' || $(gcc_version) == '6' ]]; then
26+
if [[ $(gcc_version) == '4.9' || $(gcc_version) == '6' || $(gcc_version) == '7' || $(gcc_version) == '8' ]]; then
2727
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
2828
sudo apt-get update
2929
sudo apt-get --no-install-suggests --no-install-recommends install g++-$(gcc_version)
3030
fi
3131
displayName: Install build toolchain
32-
32+
3333
- bash: echo "##vso[task.prependpath]$CONDA/bin"
3434
displayName: Add conda to PATH
3535

0 commit comments

Comments
 (0)