From c3db27496009e7accce3cf1332d3f68bdfc45dd5 Mon Sep 17 00:00:00 2001 From: Jan Vesely Date: Tue, 11 Apr 2023 02:02:10 -0400 Subject: [PATCH] github-actions: Add job running --benchmark-enable This is not monitoring performance, just making sure the benchmark variants pass without error. Signed-off-by: Jan Vesely --- .github/workflows/pnl-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pnl-ci.yml b/.github/workflows/pnl-ci.yml index 8b981f1cc26..d53492d0e59 100644 --- a/.github/workflows/pnl-ci.yml +++ b/.github/workflows/pnl-ci.yml @@ -65,10 +65,14 @@ jobs: # fp32 run on linux python 3.8 - python-version: '3.8' - python-architecture: 'x64' os: ubuntu extra-args: '--fp-precision=fp32' + # --benchmark-enable run on macos python 3.8 + - python-version: '3.8' + os: macos + extra-args: '--benchmark-enable -m benchmark -n0 --benchmark-min-rounds=2 --benchmark-max-time=0.001 --benchmark-warmup=off' + # add python 3.8 build on macos since 3.7 is broken # https://github.com/actions/virtual-environments/issues/4230 - python-version: '3.8'