File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5858 python -m pip install --upgrade pip
5959 pip install .[tauri]
6060 shell : bash -l {0}
61+
62+ - name : Install OSMesa (ubuntu only)
63+ if : matrix.platform == 'ubuntu-22.04'
64+ run : |
65+ sudo apt-get update
66+ sudo apt-get install -y libosmesa6-dev
67+ - name : Install OSMesa (windows only)
68+ if : matrix.platform == 'windows-latest'
69+ # 25.0.7 is the last mesa-dist-win release that ships osmesa.dll
70+ # (removed in 25.1.0). PATH is searched by LoadLibrary, which is how
71+ # VTK's vtkOSOpenGLRenderWindow locates osmesa.dll at runtime.
72+ run : |
73+ curl -sSL -o mesa.7z https://github.com/pal1000/mesa-dist-win/releases/download/25.0.7/mesa3d-25.0.7-release-msvc.7z
74+ 7z x mesa.7z -omesa
75+ cygpath -w "$PWD/mesa/x64" >> "$GITHUB_PATH"
76+ shell : bash
77+
6178 - name : Package using PyInstaller
6279 run : |
6380 chmod +x scripts/setup_tauri.sh
8198 sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
8299 # webkitgtk 4.0 is for Tauri v1 - webkitgtk 4.1 is for Tauri v2.
83100 # You can remove the one that doesn't apply to your app to speed up the workflow a bit.
84- - uses : tauri-apps/tauri-action@v1
101+ - uses : tauri-apps/tauri-action@v0
85102 env :
86103 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
87104 with :
You can’t perform that action at this time.
0 commit comments