From e129cd7fdae0ffd04bc6939dddb384a7df8fa7c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Tue, 22 Oct 2024 09:53:58 +0200 Subject: [PATCH] ci: make sure the macOS firewall is disabled It seems to be disabled by default, for now, but let's log its status and disable it just in case. --- .github/workflows/CI-unix.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/CI-unix.yml b/.github/workflows/CI-unix.yml index 6a805e08..26f1e0e4 100644 --- a/.github/workflows/CI-unix.yml +++ b/.github/workflows/CI-unix.yml @@ -86,6 +86,11 @@ jobs: - uses: actions/checkout@v4 - name: Envinfo run: npx envinfo + - name: Disable Firewall + run: | + /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate + sudo defaults write /Library/Preferences/com.apple.alf globalstate -int 0 + /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate - name: Setup run: | brew install ninja automake libtool