File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -99,11 +99,16 @@ jobs:
99
99
env :
100
100
CARGO_TERM_COLOR : always
101
101
run : |
102
+ if [ "${{ matrix.hypervisor }}" = "wsl" ]; then
103
+ SUDO="sudo"
104
+ else
105
+ SUDO=""
106
+ fi
102
107
# with default features
103
- just test ${{ matrix.config }} ${{ matrix.hypervisor == 'mshv3' && 'mshv3' || ''}}
108
+ $SUDO just test ${{ matrix.config }} ${{ matrix.hypervisor == 'mshv3' && 'mshv3' || ''}}
104
109
105
110
# with only one driver enabled (driver mshv/kvm feature is ignored on windows) + seccomp + inprocess
106
- just test ${{ matrix.config }} inprocess,seccomp,${{ matrix.hypervisor == 'mshv' && 'mshv2' || matrix.hypervisor == 'mshv3' && 'mshv3' || 'kvm' }}
111
+ $SUDO just test ${{ matrix.config }} inprocess,seccomp,${{ matrix.hypervisor == 'mshv' && 'mshv2' || matrix.hypervisor == 'mshv3' && 'mshv3' || 'kvm' }}
107
112
108
113
# make sure certain cargo features compile
109
114
cargo check -p hyperlight-host --features crashdump
You can’t perform that action at this time.
0 commit comments