-
Notifications
You must be signed in to change notification settings - Fork 55
Custom Build Guide
jay candel edited this page Dec 7, 2024
·
1 revision
This guide will walk you through the process of creating your own custom build of GhostESP using GitHub Actions.
- A GitHub account
- Basic understanding of GitHub (forking, repositories)
-
Fork the Repository
- Go to the main GhostESP repository on GitHub
- Click the "Fork" button in the top-right corner
- Wait for the forking process to complete
-
Enable GitHub Actions
- Go to your forked repository
- Click on the "Actions" tab
- If prompted, click "I understand my workflows, go ahead and enable them"
-
Trigger the Build
- Navigate to the "Actions" tab in your forked repository
- Select the "Custom Build" workflow from the left sidebar
- Click "Run workflow" button
- Choose your desired build options from the dropdown menus (if available)
- Click "Run workflow" to start the build process
-
Access Your Build
- Once the workflow completes successfully (indicated by a green checkmark)
- Click on the completed workflow run
- Scroll down to the "Artifacts" section
- Download the build artifacts containing your custom firmware
The custom build workflow allows you to configure various options for your build. These may include:
- Target board selection
- Feature toggles
- Debug options
- Custom configurations
If your build fails, check the following:
- Ensure your fork is up to date with the main repository
- Review the workflow logs for any error messages
- Verify that you have selected compatible build options
Note: The build process may take several minutes to complete. You can monitor the progress in the Actions tab.
For advanced users who want to modify the build process:
- Navigate to
.github/workflows/
in your forked repository - Locate the custom build workflow file
- Edit the workflow file to customize the build process according to your needs
- Commit your changes and run the workflow
Remember to follow the repository's guidelines and license terms when making modifications.