Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/harfbuzz/.github/workflows/msvc-ci.yml @ 2:b50eed0cc0ef upstream
ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4.
The directory name has changed: no version number in the expanded directory now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:43:07 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1:1d09e1dec1d9 | 2:b50eed0cc0ef |
|---|---|
| 1 name: msvc | |
| 2 | |
| 3 on: | |
| 4 push: | |
| 5 branches: [ main ] | |
| 6 pull_request: | |
| 7 branches: [ main ] | |
| 8 | |
| 9 permissions: | |
| 10 contents: read | |
| 11 | |
| 12 jobs: | |
| 13 msvc: | |
| 14 runs-on: ${{ matrix.os }} | |
| 15 | |
| 16 strategy: | |
| 17 fail-fast: false | |
| 18 matrix: | |
| 19 os: [windows-2019, windows-latest] | |
| 20 include: | |
| 21 - name: msvc-2019-x86 | |
| 22 os: windows-2019 | |
| 23 ARCH: x86 | |
| 24 - name: msvc-2019-amd64 | |
| 25 os: windows-latest | |
| 26 ARCH: amd64 | |
| 27 name: ${{ matrix.name }} | |
| 28 | |
| 29 steps: | |
| 30 - uses: actions/checkout@v3 | |
| 31 - uses: actions/setup-python@v4 | |
| 32 with: | |
| 33 python-version: '3.x' | |
| 34 - uses: ilammy/msvc-dev-cmd@v1 | |
| 35 with: | |
| 36 arch : ${{ matrix.ARCH }} | |
| 37 - name: Upgrade pip | |
| 38 run: | | |
| 39 python -m pip install -U pip | |
| 40 - name: Install Dependencies | |
| 41 run: | | |
| 42 pip install --upgrade meson ninja fonttools | |
| 43 - name: Build | |
| 44 run: | | |
| 45 # This dir contains a pkg-config which meson will happily use and later fail, so remove it | |
| 46 $env:path = ($env:path.Split(';') | Where-Object { $_ -ne 'C:\Strawberry\perl\bin' }) -join ';' | |
| 47 | |
| 48 meson setup build ` | |
| 49 --wrap-mode=forcefallback ` | |
| 50 --buildtype=release ` | |
| 51 -Dglib=enabled ` | |
| 52 -Dfreetype=enabled ` | |
| 53 -Dgdi=enabled ` | |
| 54 -Ddirectwrite=enabled | |
| 55 | |
| 56 meson compile -C build | |
| 57 - name: Test | |
| 58 run: | | |
| 59 meson test --print-errorlogs --suite=harfbuzz -C build |
