From 6a9ff4df34d24e94d318ff8f36e37f76ce6d4f2b Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Fri, 1 Aug 2025 11:15:47 -0400 Subject: [PATCH] chore: revert "ci: fixup mac runners" (#47926) This reverts commit 06d7a51a586fda203db91e21963c8fe15fb368d3. Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt --- .github/actions/free-space-macos/action.yml | 5 +---- .github/workflows/pipeline-segment-electron-test.yml | 2 -- spec/chromium-spec.ts | 5 ++--- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/actions/free-space-macos/action.yml b/.github/actions/free-space-macos/action.yml index 166f7877d32c..75350ca796ba 100644 --- a/.github/actions/free-space-macos/action.yml +++ b/.github/actions/free-space-macos/action.yml @@ -6,8 +6,6 @@ runs: - name: Free Space on MacOS shell: bash run: | - echo "Disk usage before cleanup:" - df -h sudo mkdir -p $TMPDIR/del-target tmpify() { @@ -64,5 +62,4 @@ runs: # lipo off some huge binaries arm64 versions to save space strip_universal_deep $(xcode-select -p)/../SharedFrameworks - # strip_arm_deep /System/Volumes/Data/Library/Developer/CommandLineTools/usr - sudo mdutil -a -i off + # strip_arm_deep /System/Volumes/Data/Library/Developer/CommandLineTools/usr \ No newline at end of file diff --git a/.github/workflows/pipeline-segment-electron-test.yml b/.github/workflows/pipeline-segment-electron-test.yml index 54d7a84680fd..76a603b7b389 100644 --- a/.github/workflows/pipeline-segment-electron-test.yml +++ b/.github/workflows/pipeline-segment-electron-test.yml @@ -103,8 +103,6 @@ jobs: "'kTCCServiceCamera','/usr/local/opt/runner/provisioner/provisioner',1,2,4,1,NULL,NULL,0,'UNUSED',NULL,0,1687786159" "'kTCCServiceBluetoothAlways','/usr/local/opt/runner/provisioner/provisioner',1,2,4,1,NULL,NULL,0,'UNUSED',NULL,0,1687786159" "'kTCCServiceAppleEvents','/usr/local/opt/runner/provisioner/provisioner',1,2,4,1,NULL,NULL,0,'UNUSED',NULL,0,1687786159" - "'kTCCServiceCamera',' /opt/hca/hosted-compute-agent',1,2,4,1,NULL,NULL,0,'UNUSED',NULL,0,1687786159" - "'kTCCServiceBluetoothAlways',' /opt/hca/hosted-compute-agent',1,2,4,1,NULL,NULL,0,'UNUSED',NULL,0,1687786159" ) for values in "${userValuesArray[@]}"; do # Sonoma and higher have a few extra values diff --git a/spec/chromium-spec.ts b/spec/chromium-spec.ts index 8bddd5fd537d..635ac6889c25 100644 --- a/spec/chromium-spec.ts +++ b/spec/chromium-spec.ts @@ -3089,7 +3089,7 @@ describe('iframe using HTML fullscreen API while window is OS-fullscreened', () }); }); -describe('navigator.serial', () => { +ifdescribe(process.platform !== 'darwin' || process.arch !== 'arm64')('navigator.serial', () => { let w: BrowserWindow; before(async () => { w = new BrowserWindow({ @@ -3113,7 +3113,6 @@ describe('navigator.serial', () => { }); it('does not return a port if select-serial-port event is not defined', async () => { - // Take screenshot to verify the test is running w.loadFile(path.join(fixturesPath, 'pages', 'blank.html')); const port = await getPorts(); expect(port).to.equal(notFoundError); @@ -3630,7 +3629,7 @@ ifdescribe((process.platform !== 'linux' || app.isUnityRunning()))('navigator.se }); }); -describe('navigator.bluetooth', () => { +ifdescribe(process.platform !== 'darwin' || process.arch !== 'arm64')('navigator.bluetooth', () => { let w: BrowserWindow; before(async () => { w = new BrowserWindow({