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?

  1. Efficiency: By running multiple jobs simultaneously, matrix operations reduce the time it takes to compile Godot to different platforms.

  2. 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.

  1. Click “Projects” under the Sources menu.

    Project Home
  2. Expand the git provider of your project

  3. Click the wand button of the imported project

    Project Home
  4. Confirm if your project is a Game and click confirm

    Confirm project type
  5. You will be redirected to the matrix Home page.

    Confirm project type

Configuring Matrix

We are missing just a few things to configure

  1. Click the “Cog” Button to open matrix configuration

    Confirm project type
  2. On the new window, select the desired godot version

    Confirm project type

    Confirm project type

Adding Build Jobs

you can think build as a configured preset, each preset needs to be exported.

  1. Click “+ Add Job” Button

    Confirm project type
  2. Type the preset name

    Confirm project type

    Confirm project type

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.