Ignore anonymous boxes in table cells #987
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: WeasyPrint’s exe generation | |
| on: [push] | |
| jobs: | |
| generate: | |
| name: ${{ matrix.os }} | |
| runs-on: 'windows-latest' | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.14' | |
| - name: Use absolute imports and install Pango | |
| run: | | |
| C:\msys64\usr\bin\bash -lc 'pacman -S mingw-w64-ucrt-x86_64-pango mingw-w64-ucrt-x86_64-sed --noconfirm' | |
| C:\msys64\ucrt64\bin\sed -i 's/^from \. /from weasyprint /' weasyprint/__main__.py | |
| C:\msys64\ucrt64\bin\sed -i 's/^from \./from weasyprint\./' weasyprint/__main__.py | |
| echo "C:\msys64\ucrt64\bin" | Out-File -FilePath $env:GITHUB_PATH | |
| rm C:\msys64\ucrt64\bin\python.exe | |
| - name: Install requirements | |
| run: python -m pip install . pyinstaller | |
| - name: Generate onedir executable | |
| run: python -m PyInstaller weasyprint/__main__.py -n weasyprint --onedir --distpath onedir | |
| - name: Test onedir executable | |
| run: onedir/weasyprint/weasyprint --info | |
| - name: Store onedir executable | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: weasyprint-windows-onedir | |
| path: | | |
| onedir/weasyprint | |
| README.rst | |
| LICENSE | |
| - name: Generate onefile executable | |
| run: python -m PyInstaller weasyprint/__main__.py -n weasyprint --onefile --distpath onefile | |
| - name: Test onefile executable | |
| run: onefile/weasyprint --info | |
| - name: Store onefile executable | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: weasyprint-windows-onefile | |
| path: | | |
| onefile/weasyprint | |
| onefile/weasyprint.exe | |
| README.rst | |
| LICENSE |