Skip to content

Commit e6ea630

Browse files
saghulvtjnash
authored andcommitted
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.
1 parent c4a5e91 commit e6ea630

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/CI-unix.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ jobs:
5555
- uses: actions/checkout@v4
5656
- name: Envinfo
5757
run: npx envinfo
58+
- name: Disable Firewall
59+
run: |
60+
/usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate
61+
sudo defaults write /Library/Preferences/com.apple.alf globalstate -int 0
62+
/usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate
5863
- name: Setup
5964
run: |
6065
brew install ninja automake libtool

0 commit comments

Comments
 (0)