Skip to content
arrow-down

GitHub Action

Install Mesa Windows

v1 Latest version

Install Mesa Windows

arrow-down

Install Mesa Windows

Install Mesa Windows binaries to a specific directory

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Install Mesa Windows

uses: f3d-app/install-mesa-windows-action@v1

Learn more about this action in f3d-app/install-mesa-windows-action

Choose a version

Install Mesa on Windows Action

This GitHub Action download, extract and install mesa binary release from https://github.com/pal1000/mesa-dist-win into a designated folder.

Just add this to your workflow:

  - name: Install Mesa Windows
    uses: f3d-app/install-mesa-windows-action@v1
    with:
      path: ${{github.workspace}}/path/to/folder

Any executable in that directory using opengl32.dll and other mesa related libraries will then just work out of the box.

Note that this action will define GALLIUM_DRIVER environnement variable that is needed for mesa to work as expected.

The path can contain wildcards, which means the mesa files can be copied to multiple directories in a single action use. If the directories do not exists, they will be created.

Defining mesa version

Which mesa version to use can be set like this:

  - name: Install Mesa Windows
    uses: f3d-app/install-mesa-windows-action@v1
    with:
      path: ${{github.workspace}}/path/to/folder
      version: 24.0.5

Please note only the default version is tested by the CI of this repository.