Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/f3d-app/install-mesa-windows-action

A github action to install mesa library on Windows
https://github.com/f3d-app/install-mesa-windows-action

Last synced: 7 days ago
JSON representation

A github action to install mesa library on Windows

Awesome Lists containing this project

README

        

# 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:
```yaml
- 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:

```yaml
- 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.