From 154d39d4558120e95fc0739146a8a89a6c22fb18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kalle=20Ahlstr=C3=B6m?= Date: Sat, 11 May 2024 22:03:54 +0300 Subject: [PATCH] CI: add short python oneliner for displaying system info --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea9b698..e4e0a6c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,8 +41,10 @@ jobs: - name: Benchmark if: matrix.os != 'windows-latest' run: | + python -c "import platform, os; print('OS:', platform.system(), platform.release(), 'Architecture:', platform.machine(), 'CPU threads:', os.cpu_count())" hyperfine --show-output --warmup 0 --runs 5 "./target/release/brc-rs" - name: Benchmark if: matrix.os == 'windows-latest' run: | + python -c "import platform, os; print('OS:', platform.system(), platform.release(), 'Architecture:', platform.machine(), 'CPU threads:', os.cpu_count())" hyperfine --show-output --warmup 0 --runs 5 "target\release\brc-rs.exe"