Skip to content

Commit

Permalink
Kill XProtect in CI
Browse files Browse the repository at this point in the history
Hopefully this fixes the issue with `hdiutil` during the creation of the
disk image. Other projects such as OBS use the same workaround for now.

See actions/runner-images#7522
  • Loading branch information
fwcd committed Nov 12, 2023
1 parent dfb0a8a commit f4b94aa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,13 @@ jobs:
- name: Build Mixxx
run: cmake --build build --target mixxx
working-directory: mixxx
- name: Kill XProtect to work around actions/runner-images#7522
if: runner.os == 'macOS'
run: |
# TODO: Replace this with a better solution
# See https://github.com/actions/runner-images/issues/7522
echo Killing...; sudo pkill -9 XProtect >/dev/null || true;
echo Waiting...; while pgrep XProtect; do sleep 3; done;
- name: Package Mixxx
run: cpack -G ${{ matrix.cpack_generator }} -V && mv *.${{ matrix.package_extension }} "mixxx-${{ matrix.triplet }}-${{ env.mixxx_version }}.${{ matrix.package_extension }}"
working-directory: mixxx/build
Expand Down
2 changes: 1 addition & 1 deletion mixxx

0 comments on commit f4b94aa

Please sign in to comment.