Matrix Blueprints
Matrices provide a streamlined way to configure common attributes across multiple builds. For instance, when exporting your game to Windows, Linux, and Android, each platform shares common elements like the Git repository and Git reference, but they vary in preset names and object.
This is where the matrix becomes incredibly useful. You can set up the common attributes in the matrix configuration while specifying the unique details for each job.
Why Use Matrix Operations?
Efficiency: By running multiple jobs simultaneously, matrix operations reduce the time it takes to compile Godot to different platforms.
Early Detection of Issues: With matrix builds, potential problems can be identified quickly across different scenarios, leading to faster fixes and higher code quality.
Generating a Matrix
Import you project first : Importing Project.
Click “Projects” under the Sources menu.
Expand the git provider of your project
Click the wand button of the imported project
Confirm if your project is a Game and click confirm
You will be redirected to the matrix Home page.
Configuring Matrix
We are missing just a few things to configure
Click the “Cog” Button to open matrix configuration
On the new window, select the desired godot version
Adding Build Jobs
you can think build as a configured preset, each preset needs to be exported.
Click “+ Add Job” Button
Type the preset name
Warning
Add a Build Job for every preset you have on your game
Warning
If you are publishing to stea, also add the depot ID. Deploy to Steam.