Skip to content

Commit 571366f

Browse files
committed
Attempt to enable IPv6 for Linux
1 parent 0e5f02f commit 571366f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.azure-pipelines/steps/run.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ steps:
3737

3838
- template: install-windows-build-deps.yml
3939

40+
# Looks like docker containers have IPv6 disabled by default, so let's turn it
41+
# on since libstd tests require it
42+
- bash: |
43+
set -e
44+
echo '{"ipv6":true,"fixed-cidr-v6":"fd9a:8454:6789:13f7::/64"}' | sudo tee /etc/docker/daemon.json
45+
sudo service docker restart
46+
displayName: Enable IPv6
47+
condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))
48+
4049
# Check out all our submodules, but more quickly than using git by using one of
4150
# our custom scripts
4251
- bash: |

0 commit comments

Comments
 (0)