Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
liZe committed Jul 11, 2024
1 parent 61852c4 commit 72a1787
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 136 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/doconfly.yml

This file was deleted.

45 changes: 0 additions & 45 deletions .github/workflows/test_samples.yml

This file was deleted.

47 changes: 0 additions & 47 deletions .github/workflows/tests.yml

This file was deleted.

23 changes: 8 additions & 15 deletions .github/workflows/exe.yml → .github/workflows/win-wheel.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: WeasyPrint’s exe generation
name: WeasyPrint’s wheel for Windows
on: [push]

jobs:
Expand All @@ -18,17 +18,10 @@ jobs:
echo "C:\msys64\mingw64\bin" | Out-File -FilePath $env:GITHUB_PATH
rm C:\msys64\mingw64\bin\python.exe
- name: Install requirements
run: python -m pip install . pyinstaller
- name: Generate executable
run: python -m PyInstaller weasyprint/__main__.py -n weasyprint -F --hidden-import "fontTools.ttLib.tables.V_A_R_C_"
- name: Test executable
run: dist/weasyprint --info
- name: Store executable
uses: actions/upload-artifact@v4
with:
name: weasyprint-windows
path: |
dist/weasyprint
dist/weasyprint.exe
README.rst
LICENSE
run: python -m pip install . flit delvewheel
- name: Generate wheel
run: python -m flit build
- name: Include Harfbuzz DLL
run: python -m delvewheel repair --add-dll="C:\msys64\mingw64\bin\libharfbuzz-subset-0.dll" "dist/weasyprint-62.3-py3-none-any.whl"
- name: Include dependencies
run: python -m delvewheel --add-path="C:\msys64\mingw64\bin"

0 comments on commit 72a1787

Please sign in to comment.