]> OCCT Git - occt.git/commitdiff
Testing - Update GH Win Jobs with Mesa3D #143
authordpasukhi <dpasukhi@opencascade.com>
Sun, 3 Nov 2024 12:25:05 +0000 (12:25 +0000)
committerdpasukhi <dpasukhi@opencascade.com>
Sun, 3 Nov 2024 15:05:58 +0000 (15:05 +0000)
Extend GH actions on windows with mesa3D

.github/workflows/build-and-test-multiplatform.yml

index 53a5833171708224d3bf741a9b8bebdb690d7b7a..8997b42a8bc72ea041fd78d53c31e0debe82e275 100644 (file)
@@ -39,6 +39,17 @@ jobs:
           Remove-Item 3rdparty-vc14-64.zip
       shell: pwsh
 
+    - 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
+        7z x mesa3d.7z -omesa3d
+
+    - name: Run system-wide deployment
+      run: |
+        cd mesa3d
+        .\systemwidedeploy.cmd 1
+      shell: cmd
+
     - name: Configure OCCT
       run: |
           mkdir build
@@ -101,6 +112,17 @@ jobs:
           Remove-Item 3rdparty-vc14-64.zip
       shell: pwsh
 
+    - 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
+        7z x mesa3d.7z -omesa3d
+
+    - name: Run system-wide deployment
+      run: |
+        cd mesa3d
+        .\systemwidedeploy.cmd 1
+      shell: cmd
+
     - name: Configure OCCT
       run: |
           mkdir build
@@ -409,6 +431,17 @@ jobs:
         name: install-windows-x64
         path: install
 
+    - 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
+        7z x mesa3d.7z -omesa3d
+
+    - name: Run system-wide deployment
+      run: |
+        cd mesa3d
+        .\systemwidedeploy.cmd 1
+      shell: cmd
+
     - name: Run tests
       run: |
         cd install
@@ -463,6 +496,17 @@ jobs:
         name: install-windows-clang-x64
         path: install
 
+    - 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
+        7z x mesa3d.7z -omesa3d
+
+    - name: Run system-wide deployment
+      run: |
+        cd mesa3d
+        .\systemwidedeploy.cmd 1
+      shell: cmd
+
     - name: Run tests
       run: |
         cd install