From bc9f991f411ca6029c00337232b4ca9c24fa8e73 Mon Sep 17 00:00:00 2001 From: Timo Heimonen Date: Wed, 26 Aug 2026 20:03:14 +0300 Subject: [PATCH 1/2] ci: add macOS ARM64 tests for PRs and development pushes --- .github/workflows/pr-tests.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/pr-tests.yml diff --git a/.github/workflows/pr-tests.yml b/.github/workflows/pr-tests.yml new file mode 100644 index 0000000..3f6493a --- /dev/null +++ b/.github/workflows/pr-tests.yml @@ -0,0 +1,32 @@ +name: PR tests + +on: + push: + branches: + - development + pull_request: + branches: + - main + - development + +permissions: + contents: read + +concurrency: + group: pr-tests-${{ github.event_name }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + test-all: + runs-on: macos-26 + timeout-minutes: 60 + + steps: + - name: Checkout repository + uses: actions/checkout@v7 + + - name: Install GoogleTest + run: brew install googletest + + - name: Run all tests + run: make test-all From cfa716e695b0866744575c4294be36eba1d57641 Mon Sep 17 00:00:00 2001 From: Timo Heimonen Date: Wed, 26 Aug 2026 20:30:23 +0300 Subject: [PATCH 2/2] ci: update tests name docs: add tests badge to README.md --- .github/workflows/pr-tests.yml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-tests.yml b/.github/workflows/pr-tests.yml index 3f6493a..e231f6d 100644 --- a/.github/workflows/pr-tests.yml +++ b/.github/workflows/pr-tests.yml @@ -1,4 +1,4 @@ -name: PR tests +name: Tests on: push: diff --git a/README.md b/README.md index 0390772..0796408 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # macOS Memory Benchmark -![Platform](https://img.shields.io/badge/platform-Apple%20Silicon-000000?logo=apple) ![CLI](https://img.shields.io/badge/CLI-Tool-00A8CC?logo=terminal) ![License](https://img.shields.io/badge/license-GPL--3.0--or--later-blue) ![Assembly](https://img.shields.io/badge/Assembly-ARM64-6E4C13) ![C++](https://img.shields.io/badge/C++-00599C?logo=cplusplus&logoColor=white) +![Platform](https://img.shields.io/badge/platform-Apple%20Silicon-000000?logo=apple) ![CLI](https://img.shields.io/badge/CLI-Tool-00A8CC?logo=terminal) ![License](https://img.shields.io/badge/license-GPL--3.0--or--later-blue) ![Assembly](https://img.shields.io/badge/Assembly-ARM64-6E4C13) ![C++](https://img.shields.io/badge/C++-00599C?logo=cplusplus&logoColor=white) [![Development tests](https://github.com/timoheimonen/macOS-memory-benchmark/actions/workflows/pr-tests.yml/badge.svg?branch=development&event=push)](https://github.com/timoheimonen/macOS-memory-benchmark/actions/workflows/pr-tests.yml) `memory_benchmark` is a low-level command-line tool for measuring CPU and Metal GPU memory bandwidth, synthetic LLM decode and prefill memory traffic, cache and main-memory latency, access-pattern performance, TLB behavior, and