Skip to content

Commit bd0a56e

Browse files
committed
Get CPU info of Windows machine
1 parent 13e21c1 commit bd0a56e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.circleci/config.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@ version: 2.1
33
orbs:
44
win: circleci/[email protected]
55

6+
commands:
7+
show_cpu_info:
8+
steps:
9+
- run:
10+
name: Show CPU info
11+
command: |
12+
set -o errexit
13+
curl -sS -L --output py-cpuinfo.zip https://github.com/workhorsy/py-cpuinfo/archive/refs/tags/v9.0.0.zip
14+
unzip -q py-cpuinfo.zip
15+
python py-cpuinfo-*/cpuinfo/cpuinfo.py
16+
617
jobs:
718
# All checks on the codebase that can run in parallel to build_shared_library
819
libwasmvm_sanity:
@@ -78,6 +89,7 @@ jobs:
7889
- run:
7990
name: Reset git config set by CircleCI to make Cargo work
8091
command: git config --global --unset url.ssh://[email protected]
92+
- show_cpu_info
8193
- run:
8294
name: Install Rust
8395
command: |
@@ -237,6 +249,7 @@ jobs:
237249
- run:
238250
name: Reset git config set by CircleCI to make Cargo work
239251
command: git config --global --unset url.ssh://[email protected]
252+
- show_cpu_info
240253
- run:
241254
name: Install make
242255
command: |
@@ -302,6 +315,7 @@ jobs:
302315
GORACE: "halt_on_error=1"
303316
steps:
304317
- checkout
318+
- show_cpu_info
305319
- run:
306320
name: Install make and mingw
307321
# See https://github.com/docker/containerd-packaging/pull/294 for discussion around mingw version

0 commit comments

Comments
 (0)