Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

devops: support firefox-win32 builds

Andrey Lushnikov26fef7bc4679
diff --git a/browser_patches/firefox/build.sh b/browser_patches/firefox/build.sh
index 07ee3d540f..7396ab5bb2 100755
--- a/browser_patches/firefox/build.sh
+++ b/browser_patches/firefox/build.sh
@@ -32,6 +32,8 @@ if [[ "$(uname)" == "Darwin" ]]; then
echo "-- building on Mac"
elif [[ "$(uname)" == "Linux" ]]; then
echo "-- building on Linux"
+elif [[ "$(uname)" == MINGW* ]]; then
+ echo "-- building on MINGW"
else
echo "ERROR: cannot upload on this platform!" 1>&2
exit 1;
diff --git a/browser_patches/tools/check_cdn.sh b/browser_patches/tools/check_cdn.sh
index 223c3aab7f..a953073fd2 100755
--- a/browser_patches/tools/check_cdn.sh
+++ b/browser_patches/tools/check_cdn.sh
@@ -15,7 +15,7 @@ HOST="https://playwrightaccount.blob.core.windows.net/builds"
ARCHIVES=(
"$HOST/firefox/%s/firefox-mac.zip"
"$HOST/firefox/%s/firefox-linux.zip"
- "$HOST/firefox/%s/firefox-win.zip"
+ "$HOST/firefox/%s/firefox-win32.zip"
"$HOST/webkit/%s/minibrowser-linux.zip"
"$HOST/webkit/%s/minibrowser-mac-10.14.zip"
"$HOST/webkit/%s/minibrowser-mac-10.15.zip"
diff --git a/browser_patches/upload.sh b/browser_patches/upload.sh
index 1d6646849a..cd603dd622 100755
--- a/browser_patches/upload.sh
+++ b/browser_patches/upload.sh
@@ -42,6 +42,8 @@ if [[ ("$1" == "firefox") || ("$1" == "firefox/") ]]; then
BLOB_NAME="firefox-mac.zip"
elif [[ "$(uname)" == "Linux" ]]; then
BLOB_NAME="firefox-linux.zip"
+ elif [[ "$(uname)" == MINGW* ]]; then
+ BLOB_NAME="firefox-win32.zip"
else
echo "ERROR: unzupported platform - $(uname)"
exit 1