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.
This commit is contained in:
Saúl Ibarra Corretgé 2024-10-22 09:53:58 +02:00
parent a3abfbcb08
commit e129cd7fda

View File

@ -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