Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ jobs:
# macos-13-large is used as macos-13 seems too flaky.
# macos-14 (ARM) and later cannot be used for the most part of the job
# due to the lack of the support for nested virt.
#
# TODO: add macos-15-large https://github.com/lima-vm/socket_vmnet/pull/63
platform: [macos-13-large, macos-14-large]
platform: [macos-13-large, macos-14-large, macos-15-large]
runs-on: ${{ matrix.platform }}
timeout-minutes: 40
steps:
Expand Down Expand Up @@ -86,13 +84,24 @@ jobs:
limactl shell vm1 ip a
- name: "Lima: vm1: set up iperf3"
run: |
limactl shell vm1 sudo DEBIAN_FRONTEND=noninteractive apt-get install -y iperf3
limactl shell vm1 systemd-run --user --unit=iperf3 iperf3 -s
# net-tools for netstat
limactl shell vm1 sudo DEBIAN_FRONTEND=noninteractive apt-get install -y iperf3 net-tools
limactl shell vm1 sudo systemctl start iperf3.service
- name: "Lima: vm1: get the IP"
run: |
set -eux
limactl shell vm1 ip -4 -json addr show dev lima0 | jq -r .[0].addr_info[0].local | tee /tmp/vm1_iP
# <DEBUG>
limactl shell vm1 netstat -rn
limactl shell vm1 ping -c 3 "$(cat /tmp/vm1_ip)"
# </DEBUG>
- name: "Lima: vm1: iperf3 (host -> vm1)"
run: |
set -eux
# <DEBUG>
netstat -rn
ping -c 3 "$(cat /tmp/vm1_ip)"
# </DEBUG>
iperf3 -c "$(cat /tmp/vm1_ip)"
- name: "Lima: vm1: debug"
if: failure()
Expand Down