mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-23 11:09:22 +01:00
revert makefile changes, update CI
This commit is contained in:
parent
d1dd578f47
commit
684068bd91
@ -19,23 +19,25 @@ jobs:
|
||||
|
||||
- name: Copy files
|
||||
run: |
|
||||
cp -f hbc/* executables/Snes9xGX/apps/snes9xgx/
|
||||
cp -f hbc/* executables/Snes9xGX-GameCube/
|
||||
cp -f README.md executables/Snes9xGX/apps/snes9xgx/
|
||||
cp -f README.md executables/Snes9xGX-GameCube/
|
||||
mkdir -p dist/Snes9xGX/apps/snes9xgx
|
||||
mkdir -p dist/Snes9xGX/snes9xgx/roms
|
||||
mkdir dist/Snes9xGX/snes9xgx/cheats
|
||||
mkdir dist/Snes9xGX/snes9xgx/saves
|
||||
mkdir dist/Snes9xGX-GameCube/
|
||||
cp hbc/* dist/Snes9xGX/apps/snes9xgx/
|
||||
cp executables/snes9xgx-wii.dol dist/Snes9xGX/apps/snes9xgx/boot.dol
|
||||
cp executables/snes9xgx-gc.dol dist/Snes9xGX-GameCube/
|
||||
|
||||
- name: Upload Wii Build Artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Snes9xGX-Nightly
|
||||
name: Snes9xGX
|
||||
path: |
|
||||
executables/Snes9xGX/
|
||||
!executables/Snes9xGX/apps/snes9xgx/*.elf
|
||||
dist/Snes9xGX/
|
||||
|
||||
- name: Upload GameCube Build Artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Snes9xGX-Nightly-GameCube
|
||||
name: Snes9xGX-GameCube
|
||||
path: |
|
||||
executables/Snes9xGX-GameCube/
|
||||
!executables/Snes9xGX-GameCube/*.elf
|
||||
dist/Snes9xGX-GameCube/
|
||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -2,4 +2,4 @@
|
||||
/snes9x-gx.pnproj
|
||||
/build_wii
|
||||
/build_gc
|
||||
/executables
|
||||
/package
|
||||
|
@ -11,13 +11,12 @@ include $(DEVKITPPC)/gamecube_rules
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# TARGET is the name of the output
|
||||
# TARGETDIR is the directory where the output files will be placed
|
||||
# BUILD is the directory where object files & intermediate files will be placed
|
||||
# SOURCES is a list of directories containing source code
|
||||
# INCLUDES is a list of directories containing extra header files
|
||||
#---------------------------------------------------------------------------------
|
||||
TARGET := boot
|
||||
TARGETDIR := executables/Snes9xGX-GameCube
|
||||
TARGET := snes9xgx-gc
|
||||
TARGETDIR := executables
|
||||
BUILD := build_gc
|
||||
SOURCES := source source/gui source/utils source/utils/sz source/utils/vm \
|
||||
source/snes9x source/snes9x/apu
|
||||
@ -117,7 +116,7 @@ $(BUILD):
|
||||
#---------------------------------------------------------------------------------
|
||||
clean:
|
||||
@echo clean ...
|
||||
@rm -fr $(BUILD) $(TARGETDIR)
|
||||
@rm -fr $(BUILD) $(OUTPUT).elf $(OUTPUT).dol
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
run:
|
||||
|
13
Makefile.wii
13
Makefile.wii
@ -11,17 +11,12 @@ include $(DEVKITPPC)/wii_rules
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# TARGET is the name of the output
|
||||
# TARGETDIR is the directory where the output files will be placed
|
||||
# SUBDIR are the directories where the cheats, roms and saves need to be placed
|
||||
# ROOTDIR is the root directory of the build
|
||||
# BUILD is the directory where object files & intermediate files will be placed
|
||||
# SOURCES is a list of directories containing source code
|
||||
# INCLUDES is a list of directories containing extra header files
|
||||
#---------------------------------------------------------------------------------
|
||||
TARGET := boot
|
||||
TARGETDIR := executables/Snes9xGX/apps/snes9xgx
|
||||
ROOTDIR := executables/Snes9xGX
|
||||
SUBDIR := executables/Snes9xGX/snes9xgx/{cheats,roms,saves}
|
||||
TARGET := snes9xgx-wii
|
||||
TARGETDIR := executables
|
||||
BUILD := build_wii
|
||||
SOURCES := source source/gui source/utils source/utils/sz \
|
||||
source/snes9x source/snes9x/apu
|
||||
@ -115,13 +110,13 @@ export OUTPUT := $(CURDIR)/$(TARGETDIR)/$(TARGET)
|
||||
#---------------------------------------------------------------------------------
|
||||
$(BUILD):
|
||||
@[ -d $@ ] || mkdir -p $@
|
||||
@[ -d $(TARGETDIR) ] || mkdir -p $(TARGETDIR) $(SUBDIR)
|
||||
@[ -d $(TARGETDIR) ] || mkdir -p $(TARGETDIR)
|
||||
@$(MAKE) --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile.wii
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
clean:
|
||||
@echo clean ...
|
||||
@rm -fr $(BUILD) $(ROOTDIR)
|
||||
@rm -fr $(BUILD) $(OUTPUT).elf $(OUTPUT).dol
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
run:
|
||||
|
Loading…
Reference in New Issue
Block a user