Truly independent web browser
Meta: Rename the macOS app bundle packaging script
Jelle Raaijmakersef1da958907a
diff --git a/.github/workflows/lagom-template.yml b/.github/workflows/lagom-template.ymlindex e5807b6c5eb..0bb838ff8ae 100644--- a/.github/workflows/lagom-template.yml+++ b/.github/workflows/lagom-template.yml@@ -188,7 +188,7 @@ jobs:if: ${{ inputs.os_name == 'macOS' }}working-directory: ${{ github.workspace }}run: |- "${{ env.pythonLocation }}/bin/python" Meta/package-macos-app-bundle.py \+ "${{ env.pythonLocation }}/bin/python" Meta/package-macos-test-bundle.py \--build-dir Build --install-dir Install --output ladybird-app-bundle.tar.gz- name: Upload the macOS app bundlediff --git a/.github/workflows/macos-accessibility-tests.yml b/.github/workflows/macos-accessibility-tests.ymlindex 3f7aafec1ac..a9ad4ee3477 100644--- a/.github/workflows/macos-accessibility-tests.yml+++ b/.github/workflows/macos-accessibility-tests.yml@@ -3,7 +3,7 @@ name: macOS accessibility tests# The macOS AX tests need an unlocked GUI (Aqua) login session, and an Accessibility grant for the process tree the# runner starts. GH-hosted machines have all that, but take a very long time to build Ladybird. Blacksmith's machines# boot screen-locked — so don't have all that — but build Ladybird quickly. So, we re-use the Ladybird we already built-# on Blacksmith: packing it with Meta/package-macos-app-bundle.py, and uploading that to a (GH-hosted) screen-unlocked+# on Blacksmith: packing it with Meta/package-macos-test-bundle.py, and uploading that to a (GH-hosted) screen-unlocked# machine that doesn't build but instead just runs the tests (which just takes literally 2 minutes or less).on:workflow_call:diff --git a/Meta/package-macos-app-bundle.py b/Meta/package-macos-test-bundle.pysimilarity index 99%rename from Meta/package-macos-app-bundle.pyrename to Meta/package-macos-test-bundle.pyindex 5e728df5e10..e9c77e79553 100755--- a/Meta/package-macos-app-bundle.py+++ b/Meta/package-macos-test-bundle.py@@ -19,7 +19,7 @@ leaves every binary with only the absolute rpaths it was built with (the vcpkg lfor a sanitizer build, the compiler's runtime directory); leaves behind the dylibs it links from those directories; and"--strip" rewrites every executable after the build signed it — invalidating signatures.- Meta/package-macos-app-bundle.py --build-dir Build/release --install-dir /tmp/Install --output /tmp/Ladybird.tar.gz+ Meta/package-macos-test-bundle.py --build-dir Build/release --install-dir /tmp/Install --output /tmp/Ladybird.tar.gz"""from __future__ import annotationsdiff --git a/Tests/LibWeb/AccessibilityBridgeMac/README.md b/Tests/LibWeb/AccessibilityBridgeMac/README.mdindex a465a65a7d5..5cd1102f470 100644--- a/Tests/LibWeb/AccessibilityBridgeMac/README.md+++ b/Tests/LibWeb/AccessibilityBridgeMac/README.md@@ -40,7 +40,7 @@ The runner is also usable directly:Set `LADYBIRD_BINARY=/path/to/Ladybird.app/Contents/MacOS/Ladybird` if your build isn’t at the default `Build/release/bin/Ladybird.app/Contents/MacOS/Ladybird`.-CI runs it that way: the macOS Sanitizer build job packs its `Ladybird.app` with `Meta/package-macos-app-bundle.py` into a self-contained tarball, and `.github/workflows/macos-accessibility-tests.yml` unpacks that on a runner with an unlocked GUI session and points `LADYBIRD_BINARY` at it — so the runner that hosts the tests never builds.+CI runs it that way: the macOS Sanitizer build job packs its `Ladybird.app` with `Meta/package-macos-test-bundle.py` into a self-contained tarball, and `.github/workflows/macos-accessibility-tests.yml` unpacks that on a runner with an unlocked GUI session and points `LADYBIRD_BINARY` at it — so the runner that hosts the tests never builds.## Prerequisites