File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 5757 with :
5858 name : libskia-linux-${{ matrix.arch }}
5959 path : dist/*.zip
60+ build-windows :
61+ runs-on : windows-latest
62+ strategy :
63+ fail-fast : false
64+ matrix :
65+ arch : [x86, x64]
66+ steps :
67+ - uses : actions/checkout@v4
68+ with :
69+ submodules : recursive
70+ - uses : actions/setup-python@v5
71+ with :
72+ python-version : " 3.10"
73+ - name : Build library
74+ run : |
75+ # Python 3.10+ doesn't create python3.exe symlink automatically on Windows
76+ # but skia build expects it, so we create it
77+ New-Item -ItemType SymbolicLink -Path "$env:pythonLocation\python3.exe" -Target "$env:pythonLocation\python.exe" -ErrorAction SilentlyContinue
78+ python3 build_skia.py --target-cpu ${{ matrix.arch }} --shared-lib --archive-file dist\libskia-win-${{ matrix.arch }}.zip
79+ shell : pwsh
80+ - uses : actions/upload-artifact@v4
81+ with :
82+ name : libskia-windows-${{ matrix.arch }}
83+ path : dist/*.zip
You can’t perform that action at this time.
0 commit comments