mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-23 04:34:58 -04:00
Saturn/NDS: Make ELF artifacts appear in Actions build
This commit is contained in:
parent
a6398b12fa
commit
c0bb55a83b
4
.github/workflows/build_nds.yml
vendored
4
.github/workflows/build_nds.yml
vendored
@ -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'
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user