Skip to content

Don’t generate exe #119

Don’t generate exe

Don’t generate exe #119

Workflow file for this run

name: WeasyPrint’s exe generation
on: [push]
jobs:
generate:
name: ${{ matrix.os }}
runs-on: 'windows-2019'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Use absolute imports and install Pango (Windows)
run: |
C:\msys64\usr\bin\bash -lc 'pacman -S mingw-w64-x86_64-pango --noconfirm'
echo "C:\msys64\mingw64\bin" | Out-File -FilePath $env:GITHUB_PATH
rm C:\msys64\mingw64\bin\python.exe
C:\msys64\mingw64\bin\gcc -o testfont testfont.c $(C:\msys64\mingw64\bin\pkg-config.exe --cflags --libs pango fontconfig harfbuzz pangoft2)
- name: Store executable
uses: actions/upload-artifact@v4
with:
name: testfont
path: testfont