File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 set -euo pipefail
55 cp .cargo/config-portable.toml .cargo/config.toml
66
7+ - name : Verify runner CPU + AVX2 visibility
8+ shell : bash
9+ run : |
10+ set -euo pipefail
11+ uname -m
12+ if [[ "$RUNNER_OS" == "Linux" ]]; then
13+ lscpu | egrep -i 'Model name|Flags'
14+ lscpu | grep -qi avx2
15+ else
16+ sysctl -n machdep.cpu.brand_string || true
17+ sysctl -n machdep.cpu.features | grep -q AVX2
18+ fi
19+
720 - name : Force AVX2 for x86_64
821 shell : bash
922 run : |
Original file line number Diff line number Diff line change @@ -132,6 +132,18 @@ jobs:
132132 set -euo pipefail
133133 cp .cargo/config-portable.toml .cargo/config.toml
134134 shell : " bash"
135+ - name : " Verify runner CPU + AVX2 visibility"
136+ run : |
137+ set -euo pipefail
138+ uname -m
139+ if [[ "$RUNNER_OS" == "Linux" ]]; then
140+ lscpu | egrep -i 'Model name|Flags'
141+ lscpu | grep -qi avx2
142+ else
143+ sysctl -n machdep.cpu.brand_string || true
144+ sysctl -n machdep.cpu.features | grep -q AVX2
145+ fi
146+ shell : " bash"
135147 - name : " Force AVX2 for x86_64"
136148 run : |
137149 set -euo pipefail
You can’t perform that action at this time.
0 commit comments