mirror of
https://github.com/enso-org/enso.git
synced 2024-09-11 21:27:15 +03:00
Disable TCP offloading on macOS (#1159)
This commit is contained in:
parent
5ea7615bb4
commit
bd9689a2b4
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -32,6 +32,12 @@ jobs:
|
||||
path: repo
|
||||
- name: Enable Developer Command Prompt (Windows)
|
||||
uses: ilammy/msvc-dev-cmd@v1.3.0
|
||||
- name: Disable TCP/UDP Offloading (macOS)
|
||||
if: runner.os == 'macOS'
|
||||
shell: bash
|
||||
run: |
|
||||
sudo sysctl -w net.link.generic.system.hwcksum_tx=0
|
||||
sudo sysctl -w net.link.generic.system.hwcksum_rx=0
|
||||
- name: Disable TCP/UDP Offloading (Linux)
|
||||
if: runner.os == 'Linux'
|
||||
shell: bash
|
||||
|
12
.github/workflows/scala.yml
vendored
12
.github/workflows/scala.yml
vendored
@ -41,6 +41,12 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Enable Developer Command Prompt (Windows)
|
||||
uses: ilammy/msvc-dev-cmd@v1.3.0
|
||||
- name: Disable TCP/UDP Offloading (macOS)
|
||||
if: runner.os == 'macOS'
|
||||
shell: bash
|
||||
run: |
|
||||
sudo sysctl -w net.link.generic.system.hwcksum_tx=0
|
||||
sudo sysctl -w net.link.generic.system.hwcksum_rx=0
|
||||
- name: Disable TCP/UDP Offloading (Linux)
|
||||
if: runner.os == 'Linux'
|
||||
shell: bash
|
||||
@ -164,6 +170,12 @@ jobs:
|
||||
if: github.event_name != 'pull_request'
|
||||
- name: Enable Developer Command Prompt (Windows)
|
||||
uses: ilammy/msvc-dev-cmd@v1.3.0
|
||||
- name: Disable TCP/UDP Offloading (macOS)
|
||||
if: runner.os == 'macOS'
|
||||
shell: bash
|
||||
run: |
|
||||
sudo sysctl -w net.link.generic.system.hwcksum_tx=0
|
||||
sudo sysctl -w net.link.generic.system.hwcksum_rx=0
|
||||
- name: Disable TCP/UDP Offloading (Linux)
|
||||
if: runner.os == 'Linux'
|
||||
shell: bash
|
||||
|
Loading…
Reference in New Issue
Block a user