Skip to content

Commit

Permalink
Testing - GH Mesa3D script update #216
Browse files Browse the repository at this point in the history
Update Mesa3D download links and set environment variables for software rendering
  • Loading branch information
dpasukhi committed Dec 27, 2024
1 parent 727f8fa commit c8d368b
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions .github/workflows/build-and-test-multiplatform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

- name: Download and extract Mesa3D
run: |
curl -L -o mesa3d.7z https://github.com/pal1000/mesa-dist-win/releases/download/24.2.5/mesa3d-24.2.5-release-msvc.7z
curl -L -o mesa3d.7z https://github.com/pal1000/mesa-dist-win/releases/download/24.3.2/mesa3d-24.3.2-release-mingw.7z
7z x mesa3d.7z -omesa3d
- name: Run system-wide deployment
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:

- name: Download and extract Mesa3D
run: |
curl -L -o mesa3d.7z https://github.com/pal1000/mesa-dist-win/releases/download/24.2.5/mesa3d-24.2.5-release-msvc.7z
curl -L -o mesa3d.7z https://github.com/pal1000/mesa-dist-win/releases/download/24.3.2/mesa3d-24.3.2-release-mingw.7z
7z x mesa3d.7z -omesa3d
- name: Run system-wide deployment
Expand Down Expand Up @@ -413,7 +413,7 @@ jobs:

- name: Download and extract Mesa3D
run: |
curl -L -o mesa3d.7z https://github.com/pal1000/mesa-dist-win/releases/download/24.2.5/mesa3d-24.2.5-release-msvc.7z
curl -L -o mesa3d.7z https://github.com/pal1000/mesa-dist-win/releases/download/24.3.2/mesa3d-24.3.2-release-mingw.7z
7z x mesa3d.7z -omesa3d
- name: Run system-wide deployment
Expand All @@ -435,6 +435,8 @@ jobs:
DRAWEXE.exe -v -c testgrid
shell: cmd
env:
LIBGL_ALWAYS_SOFTWARE: 1
GALLIUM_DRIVER: llvmpipe
CSF_TestScriptsPath: ${{ github.workspace }}/tests
CSF_TestDataPath: ${{ github.workspace }}/data

Expand Down Expand Up @@ -484,7 +486,7 @@ jobs:

- name: Download and extract Mesa3D
run: |
curl -L -o mesa3d.7z https://github.com/pal1000/mesa-dist-win/releases/download/24.2.5/mesa3d-24.2.5-release-msvc.7z
curl -L -o mesa3d.7z https://github.com/pal1000/mesa-dist-win/releases/download/24.3.2/mesa3d-24.3.2-release-mingw.7z
7z x mesa3d.7z -omesa3d
- name: Run system-wide deployment
Expand All @@ -506,6 +508,8 @@ jobs:
DRAWEXE.exe -v -c testgrid
shell: cmd
env:
GALLIUM_DRIVER: llvmpipe
LIBGL_ALWAYS_SOFTWARE: 1
CSF_TestScriptsPath: ${{ github.workspace }}/tests
CSF_TestDataPath: ${{ github.workspace }}/data

Expand Down Expand Up @@ -647,9 +651,6 @@ jobs:
- name: Start Xvfb
run: Xvfb :99 -screen 0 1920x1080x24 &

- name: Set DISPLAY environment variable
run: echo "DISPLAY=:99" >> $GITHUB_ENV

- name: Download test data
run: |
cd data
Expand All @@ -662,9 +663,6 @@ jobs:
name: install-linux-clang-x64
path: install

- name: Set LIBGL_ALWAYS_SOFTWARE environment variable
run: echo "LIBGL_ALWAYS_SOFTWARE=1" >> $GITHUB_ENV

- name: Set execute permissions on DRAWEXE
run: chmod +x install/bin/DRAWEXE

Expand Down Expand Up @@ -710,9 +708,6 @@ jobs:
- name: Start Xvfb
run: Xvfb :99 -screen 0 1920x1080x24 &

- name: Set DISPLAY environment variable
run: echo "DISPLAY=:99" >> $GITHUB_ENV

- name: Download test data
run: |
cd data
Expand All @@ -725,9 +720,6 @@ jobs:
name: install-linux-gcc-x64
path: install

- name: Set LIBGL_ALWAYS_SOFTWARE environment variable
run: echo "LIBGL_ALWAYS_SOFTWARE=1" >> $GITHUB_ENV

- name: Set execute permissions on DRAWEXE
run: chmod +x install/bin/DRAWEXE

Expand Down

0 comments on commit c8d368b

Please sign in to comment.