Saturn/NDS: Make ELF artifacts appear in Actions build

This commit is contained in:
Echo J 2025-09-16 08:27:53 +03:00
parent a6398b12fa
commit c0bb55a83b
2 changed files with 6 additions and 3 deletions

View File

@ -48,7 +48,7 @@ jobs:
- uses: ./.github/actions/upload_build
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
SOURCE_FILE: 'build-nds/cc-arm9.elf'
SOURCE_FILE: 'build/nds/cc-arm9.elf'
DEST_NAME: 'ClassiCube-nds.elf'
- uses: ./.github/actions/upload_build
@ -60,7 +60,7 @@ jobs:
- uses: ./.github/actions/upload_build
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
SOURCE_FILE: 'build-dsi/cc-arm9.elf'
SOURCE_FILE: 'build/dsi/cc-arm9.elf'
DEST_NAME: 'ClassiCube-dsi.elf'

View File

@ -90,7 +90,10 @@ clean:
$(BUILD_DIR)/$(TARGET).elf: $(SH_OBJS)
$(SH_LD) $(foreach specs,$(SH_SPECS),-specs=$(specs)) $(SH_OBJS) $(SH_LDFLAGS) -o $@
$(BUILD_DIR)/$(TARGET).bin: $(BUILD_DIR)/$(TARGET).elf
$(TARGET).elf: $(BUILD_DIR)/$(TARGET).elf
cp $< $@
$(BUILD_DIR)/$(TARGET).bin: $(TARGET).elf
$(SH_OBJCOPY) -O binary $< $@
@[ -z "${SILENT}" ] && du -hs $@ | awk '{ print $$1; }' || true