Skip to content

Commit

Permalink
Try to kill XProtect before running Mac CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mrobinson committed Nov 23, 2023
1 parent 604d785 commit de7ad1b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ jobs:
name: Mac Build
runs-on: macos-13
steps:
- name: Kill XProtectBehaviorService
# XProtect can cause random failures if it decides that the DMG we create
# during the packaging phase is malware.
# TODO(mrobinson): Is there a way we can do things in a less suspicious way so
# we don't have to kill this service?
- run: |
echo Killing XProtect.; sudo pkill -9 XProtect >/dev/null || true;
echo Waiting for XProtect to be killed...; while pgrep XProtect; do sleep 1; done;
- uses: actions/checkout@v3
if: github.event_name != 'pull_request_target'
with:
Expand Down

0 comments on commit de7ad1b

Please sign in to comment.