File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -83,11 +83,14 @@ pouchdb-build-node() {
8383}
8484
8585if [[ $CI = true ]] && [[ $CLIENT != node ]]; then
86- # npx playwright install --with-deps "$CLIENT"
87- # The full install with deps was glacially slow on CI
88- npx playwright install " $CLIENT "
89- sudo apt-get update
90- sudo apt-get install -y libwoff1 libvpx9 libevent-2.1-7t64 libopus0 libgstreamer-plugins-base1.0-0 libgstreamer-gl1.0-0 libgstreamer-plugins-bad1.0-0 libflite1 libavif16 libharfbuzz-icu0 libsecret-1-0 libhyphen0 libwayland-server0 libmanette-0.2-0 libgles2 gstreamer1.0-libav
86+ # Change Ubuntu mirror priorities.
87+ # azure.archive.ubuntu.com is very slow, especially if the US is awake.
88+ # From https://github.com/servo/servo/pull/39190
89+ sudo sed -i ' /archive.ubuntu.com\/ubuntu\/\tpriority/ s/priority:2/priority:0/' /etc/apt/apt-mirrors.txt
90+ sudo sed -i ' /azure.archive.ubuntu.com\/ubuntu\/\tpriority/ s/priority:0/priority:1/' /etc/apt/apt-mirrors.txt
91+ sudo sed -i ' /security.ubuntu.com\/ubuntu\/\tpriority/ s/priority:3/priority:2/' /etc/apt/apt-mirrors.txt
92+ sudo cat /etc/apt/apt-mirrors.txt
93+ npx playwright install --with-deps " $CLIENT "
9194fi
9295
9396if [[ -n $SERVER ]]; then
You can’t perform that action at this time.
0 commit comments