Update github actions to print the memory map

This commit is contained in:
Rickey Fehr
2025-09-21 14:05:39 -07:00
parent 06cd13a17f
commit a1e73be3fc
3 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ jobs:
echo "GID=$(id -g)" >> "$GITHUB_ENV"
- name: Build the project
run: docker compose -f docker-compose.yml run --rm balatro sh -c "make -j$(nproc)"
run: docker compose -f docker-compose.yml run --rm balatro sh -c "make -j$(nproc) && ./scripts/get_memory_map.sh"
- uses: softprops/action-gh-release@v2
if: ${{ startsWith(github.ref, 'refs/tags/') }}
+10
View File
@@ -0,0 +1,10 @@
#include "sprite.h"
#include "joker.h"
#include "card.h"
POOL_ENTRY(Sprite, MAX_SPRITES);
POOL_ENTRY(SpriteObject, MAX_SPRITE_OBJECTS);
POOL_ENTRY(Joker, MAX_ACTIVE_JOKERS);
POOL_ENTRY(JokerObject, MAX_ACTIVE_JOKERS);
POOL_ENTRY(Card, MAX_CARDS);
POOL_ENTRY(CardObject, MAX_CARDS_ON_SCREEN);
+1 -1
View File
@@ -4,7 +4,7 @@ set -euo pipefail
# Run this from the root directory of the project, not the scripts directory
POOL_DEF_FILE='./include/pools.def'
ELF_FILE='./build/balatro-gba.elf'
ELF_FILE='./build/balatro.elf'
READELF='/opt/devkitpro/devkitARM/bin/arm-none-eabi-readelf'
get_pool_names() {