-
Notifications
You must be signed in to change notification settings - Fork 22
44 lines (41 loc) · 1.21 KB
/
memory_check.yml
File metadata and controls
44 lines (41 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# SPDX-FileCopyrightText: 2026 Alec Delaney
#
# SPDX-License-Identifier: MIT
name: Check memory of imports
on: [pull_request]
jobs:
prepare:
runs-on: ubuntu-latest
steps:
- name: Build simulator firmware
id: check-memory
uses: tekktrik/circuitpython-memory-check/prepare@main
check-memory-new:
runs-on: ubuntu-latest
needs: prepare
steps:
- name: Check memory for new changes
id: check-new
uses: tekktrik/circuitpython-memory-check/analyze@main
with:
results-filename: results.json
check-memory-prev:
runs-on: ubuntu-latest
needs: prepare
steps:
- name: Check memory for existing codebase
id: check-prev
uses: tekktrik/circuitpython-memory-check/analyze@main
with:
branch: main
results-filename: original_results.json
compare:
runs-on: ubuntu-latest
needs: [check-memory-new, check-memory-prev]
steps:
- name: Compare memory differences
uses: tekktrik/circuitpython-memory-check/compare@main
with:
results-filename: results.json
original-results-filename: original_results.json
analysis-results-filename: memory_analysis.txt