On branch monkeyxWiki

Changes to be committed:
	modified:   wiki-rtd/docs/wiki_development/general/build-locally.md
This commit is contained in:
monkeyx-net 2024-05-26 16:42:25 +01:00
parent f0b4c2e9fd
commit c511e1d71f

View file

@ -1,6 +1,8 @@
# Development Build Locally Notes # Development Build Locally Notes
This is WIP to help build RetroDECK locally. It wsa notes taken while adding the Flash Emulator Ruffle to the project. This is WIP to help build RetroDECK locally.
It is based on notes taken while adding the Ruffle(Flash Emulator) to the RetroDECK project.
## Overview ## Overview
@ -11,7 +13,10 @@ It would also be worth running RetroDECK in [debug mode](https://retrodeck.readt
<img src="../../../wiki_images/graphics/development/retrodeck-overview.png" width="500"> <img src="../../../wiki_images/graphics/development/retrodeck-overview.png" width="500">
### Download RetroDeck
## Build Process
### Download/Clone RetroDeck
Clone the repository. The --recursive option is used to ensure the RetroDECK sub modules are download(ie Emulators from other projects). The only element that is not downloaded for changing/editing is the [RetroDECK fork of ES-DE](https://github.com/XargonWan/RetroDECK-ES-DE). That should only be needed if you wish to add a new emulator via ES-DE. Clone the repository. The --recursive option is used to ensure the RetroDECK sub modules are download(ie Emulators from other projects). The only element that is not downloaded for changing/editing is the [RetroDECK fork of ES-DE](https://github.com/XargonWan/RetroDECK-ES-DE). That should only be needed if you wish to add a new emulator via ES-DE.
@ -26,6 +31,7 @@ git submodule update --init --recursive
Then use git checkout to select the latest cooker branch. Then use git checkout to select the latest cooker branch.
### Build locally via bash script ### Build locally via bash script
```bash ```bash
@ -40,7 +46,7 @@ The build will take about 3 hours on a relatively pc/laptop.
The build process creates a flatpak_builder file. The build process creates a flatpak_builder file.
### Build locally installed github runner. ### Build locally installed github runner
Creates an artifact on Guthub and a local file in actions-runners Creates an artifact on Guthub and a local file in actions-runners
@ -52,6 +58,7 @@ Crash during local sh build?
- Stay Calm! - Stay Calm!
- Restart the PC/laptop. - Restart the PC/laptop.
- re run command below it should hopefully continue from the last good build action. - re run command below it should hopefully continue from the last good build action.
```bash ```bash
developer_toolbox/build_retrodeck_locally.sh developer_toolbox/build_retrodeck_locally.sh
``` ```