File tree Expand file tree Collapse file tree 2 files changed +8
-15
lines changed Expand file tree Collapse file tree 2 files changed +8
-15
lines changed Original file line number Diff line number Diff line change 66
66
- name : Test (shared mode)
67
67
run : ./test/test.sh /var/run/socket_vmnet
68
68
# Bridged mode cannot be tested on GHA
69
- - uses : actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
70
- with :
71
- go-version : 1.23.x
72
69
- name : Install Lima
73
70
run : |
74
- git clone https://github.com/lima-vm/lima
75
- cd lima
76
- git checkout v0.23.2
77
- make
78
- sudo make install
71
+ brew install lima
79
72
limactl sudoers >etc_sudoers.d_lima
80
73
sudo install -o root etc_sudoers.d_lima "/private/etc/sudoers.d/lima"
81
74
- name : Install the dependencies for the Lima integration test
86
79
limactl shell vm1 ip a
87
80
- name : " Lima: vm1: set up iperf3"
88
81
run : |
89
- limactl shell vm1 sudo DEBIAN_FRONTEND=noninteractive apt-get install -y iperf3
82
+ export DEBIAN_FRONTEND=noninteractive
83
+ limactl shell vm1 sudo apt-get update
84
+ limactl shell vm1 sudo apt-get install -y iperf3
90
85
limactl shell vm1 sudo systemctl start iperf3.service
91
86
- name : " Lima: vm1: get the IP"
92
87
run : |
103
98
limactl shell vm2 ip a
104
99
- name : " Lima: vm2: set up iperf3"
105
100
run : |
106
- limactl shell vm2 sudo DEBIAN_FRONTEND=noninteractive apt-get install -y iperf3
101
+ export DEBIAN_FRONTEND=noninteractive
102
+ limactl shell vm2 sudo apt-get update
103
+ limactl shell vm2 sudo apt-get install -y iperf3
107
104
- name : " Lima: vm2: iperf3 (vm2 -> vm1)"
108
105
run : |
109
106
limactl shell vm2 iperf3 -c "$(cat /tmp/vm1_ip)"
Original file line number Diff line number Diff line change @@ -13,11 +13,7 @@ images:
13
13
initrd :
14
14
location : https://cloud-images.ubuntu.com/releases/24.04/release-20240821/unpacked/ubuntu-24.04-server-cloudimg-amd64-initrd-generic
15
15
digest : sha256:c44215c42d97abd9ada4a961de0ab7305d74c39860776cf2d7a0260ac9d0637e
16
-
17
- mounts :
18
- - location : " ~"
19
- - location : " /tmp/lima"
20
- writable : true
16
+ plain : true
21
17
memory : " 1g"
22
18
cpus : 1
23
19
networks :
You can’t perform that action at this time.
0 commit comments