Skip to content

Commit 1010430

Browse files
committed
Get CPU info of Windows machine
1 parent 4c9dfc1 commit 1010430

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:
@@ -79,6 +90,7 @@ jobs:
7990
- run:
8091
name: Reset git config set by CircleCI to make Cargo work
8192
command: git config --global --unset url.ssh://[email protected]
93+
- show_cpu_info
8294
- run:
8395
name: Install Rust
8496
command: |
@@ -260,6 +272,7 @@ jobs:
260272
- run:
261273
name: Reset git config set by CircleCI to make Cargo work
262274
command: git config --global --unset url.ssh://[email protected]
275+
- show_cpu_info
263276
- run:
264277
name: Install make
265278
command: |
@@ -326,6 +339,7 @@ jobs:
326339
GORACE: "halt_on_error=1"
327340
steps:
328341
- checkout
342+
- show_cpu_info
329343
- run:
330344
name: Install make and mingw
331345
# See https://github.com/docker/containerd-packaging/pull/294 for discussion around mingw version

0 commit comments

Comments
 (0)