From 4ae2df7f64377132feafe89ab3a9fa120d9497a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20M=C3=A6hlum?= Date: Thu, 3 Oct 2024 19:07:17 +0200 Subject: [PATCH] First attempt @ memory report workflow --- .github/workflows/memory.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/memory.yml diff --git a/.github/workflows/memory.yml b/.github/workflows/memory.yml new file mode 100644 index 00000000..c950d2b3 --- /dev/null +++ b/.github/workflows/memory.yml @@ -0,0 +1,28 @@ +name: Memory usage report + +on: + push: + branches: + - main + pull_request: + +permissions: + contents: read + +jobs: + ci: + name: Report memory usage + runs-on: ubuntu-latest + steps: + - name: Test + run: + make test + - name: Combine + # TODO: Also add name of each test to the report itself + run: + cat build/test/*.size > build/report.txt + - name: Report + uses: actions/upload-artifact@v4 + with: + name: report + path: build/report.txt