Skip to content

Instantly share code, notes, and snippets.

@andres-asm
Last active December 12, 2016 03:08
Show Gist options
  • Save andres-asm/47d0e8c59922969511501bc27c228f26 to your computer and use it in GitHub Desktop.
Save andres-asm/47d0e8c59922969511501bc27c228f26 to your computer and use it in GitHub Desktop.
it's rather simple, clone libretro-buildbot in a scripts folder.
create a buildbot folder with one clone of libretro-super for each platform
Setup the toolchains you need. Each recipe setups it's own environment. You can install the toolchains in any path you want and then alter the recipe configurations to match
Ex:
https://github.com/libretro/libretro-super/blob/master/recipes/android/cores-android-armv7-ndk.conf
Blackberry and Emscripten have some things that must be run prior to using the toolchains so those executed on the platorm buildbot script:
https://github.com/libretro/libretro-buildbot/blob/master/buildbot-blackberry#L24
https://github.com/libretro/libretro-buildbot/blob/master/buildbot-emscripten#L24
I don't think there is any other case of this
~
|
|-scripts
|-buildbot
-----3ds
-----vita
Everything is instanced by running ~/scripts/buildbot-script
The host was working succesfully for:
- 3ds
- ngc
- wii
- wiiu
- psp
- vita
- linux x86_64
- emscripten
- blackberry cores
- android
For the rest we had an identical setup in vms like this:
- Windows VM (VMware workstation VM)
https://bot.libretro.com/docs/compilation/windows/
- Windows x86
- MSYS2 default toolchain (DW2 exceptions) for mostly everything
- additional MINGW toolchain for mame, dosbox, etc (SJLJ) exceptions
- Windows x64
- MSYS2 default toolchain (SEH exceptions) for mostly everything
- additional MINGW toolchain for mame, dosbox, etc (SJLJ) exceptions
- WIP PS3 (wasn't ready)
- OSX VM (VMware workstation VM), it had xcode and that was it as far as I remember. Not sure what I needed to get make to work.
- OSX x86_64
- iOS
- iOS 9
- Linux x86 (lxc container)
- Linux armhf (lxc container)
These are setup identically to the host, same folder layout, etc
The IP addresses of the VMs are configured here:
https://github.com/libretro/libretro-buildbot/blob/master/buildbot.conf
Things missing:
- the android signature was at vaporeon's; this means a new keystore needs to be created for the new buildbot which means EVERYONE WILL NEED TO REINSTALL RetroArch on Android if we aren't able to get the old keystore
- f-droid repo needs to be redone (the script is there but it needs some setup I don't remember)
- cydia repo needs to be redone (I think this one is easy)
- itch.io repo needs to be redone (this one is installing some tool and setting up the channel)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment