File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Nested Virtualization Probe
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ runner :
7+ description : " Runner label to probe"
8+ required : false
9+ type : string
10+ default : " linux-amd64-cpu8"
11+
12+ permissions :
13+ contents : read
14+
15+ defaults :
16+ run :
17+ shell : bash
18+
19+ jobs :
20+ probe :
21+ name : Probe nested virtualization
22+ runs-on : ${{ inputs.runner }}
23+ timeout-minutes : 5
24+
25+ steps :
26+ - name : Print CPU virtualization signals
27+ run : |
28+ set -euo pipefail
29+
30+ echo "runner_name=${RUNNER_NAME}"
31+ echo "runner_os=${RUNNER_OS}"
32+ echo "runner_arch=${RUNNER_ARCH}"
33+ uname -a
34+
35+ echo "vmx_count=$(grep -cw vmx /proc/cpuinfo || true)"
36+ echo "svm_count=$(grep -cw svm /proc/cpuinfo || true)"
37+
38+ echo "::group::/dev/kvm"
39+ ls -l /dev/kvm || true
40+ echo "::endgroup::"
41+
42+ echo "::group::/proc/cpuinfo"
43+ cat /proc/cpuinfo
44+ echo "::endgroup::"
You can’t perform that action at this time.
0 commit comments