Skip to content

Commit 984262e

Browse files
committed
Try using f3d-app/install-mesa-windows-action.
1 parent e0b7249 commit 984262e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/eepp-windows-build-check.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,14 @@ jobs:
3333
shell: cmd
3434
run: |
3535
"%MSBUILD_PATH%\MSBuild.exe" .\make\windows\eepp.sln -m /p:Platform="x64" /p:Configuration="release"
36+
- name: Install Mesa for software rendering
37+
uses: f3d-app/install-mesa-windows-action@v1
38+
with:
39+
path: ${{ github.workspace }}/bin/unit_tests
3640
- name: Unit Tests
3741
shell: cmd
42+
env:
43+
GALLIUM_DRIVER: llvmpipe
3844
run: |
3945
bin\unit_tests\eepp-unit_tests.exe
4046
- name: Upload artifacts

src/tests/unit_tests/fontrendering.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ UTEST( FontRendering, fontsTest ) {
1414
if ( !win->isOpen() ) {
1515
std::cout << "OpenGL context not available, skipping" << std::endl;
1616
return;
17+
} else {
18+
std::cout << GLi->getRenderer() << std::endl;
1719
}
1820

1921
// This will never trigger for the moment

0 commit comments

Comments
 (0)