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:
parent
a3abfbcb08
commit
e129cd7fda
5
.github/workflows/CI-unix.yml
vendored
5
.github/workflows/CI-unix.yml
vendored
@ -86,6 +86,11 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Envinfo
|
- name: Envinfo
|
||||||
run: npx 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
|
- name: Setup
|
||||||
run: |
|
run: |
|
||||||
brew install ninja automake libtool
|
brew install ninja automake libtool
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user