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