diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..7e64738 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,30 @@ +language: cpp + +os: linux +sudo: false +dist: trusty + +env: + global: + - DEVKITPRO=/opt/devkitpro + - DEVKITPPC=/opt/devkitpro/devkitPPC + - PORTLIBREPOS=$HOME/portlibrepos + +cache: + directories: + - "$HOME/.local" + - "$DEVKITPRO" + +addons: + apt: + packages: + - p7zip-full + +before_install: + - mkdir -p "${DEVKITPRO}" + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb -O /tmp/devkitpro-pacman.deb; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo dpkg -i /tmp/devkitpro-pacman.deb; fi + - yes | sudo dkp-pacman -Syu devkitPPC + +script: + - make wiiu-install \ No newline at end of file diff --git a/source/Makefile b/source/Makefile index ef11f91..c28c1fd 100644 --- a/source/Makefile +++ b/source/Makefile @@ -8,15 +8,16 @@ $(error "Please set DEVKITPPC in your environment. export DEVKITPPC=dev endif ifeq ($(PLATFORM),wiiu) -include $(DEVKITPPC)/wiiu_rules + MACHDEP = -DESPRESSO -mwup -mcpu=750 -meabi -mhard-float + include $(DEVKITPPC)/base_rules endif ifeq ($(PLATFORM),wii) -include $(DEVKITPPC)/wii_rules + include $(DEVKITPPC)/wii_rules endif ifeq ($(PLATFORM),cube) -include $(DEVKITPPC)/gamecube_rules + include $(DEVKITPPC)/gamecube_rules endif #--------------------------------------------------------------------------------- @@ -55,7 +56,7 @@ endif #--------------------------------------------------------------------------------- # any extra libraries we wish to link with the project #--------------------------------------------------------------------------------- -LIBS := +LIBS := #--------------------------------------------------------------------------------- # list of directories containing libraries, this must be the top level containing