Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/harfbuzz/.github/workflows/msys2-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: msys2 | |
| 2 | |
| 3 on: | |
| 4 push: | |
| 5 branches: [ main ] | |
| 6 pull_request: | |
| 7 branches: [ main ] | |
| 8 | |
| 9 permissions: | |
| 10 contents: read | |
| 11 | |
| 12 jobs: | |
| 13 msys2: | |
| 14 runs-on: windows-latest | |
| 15 | |
| 16 strategy: | |
| 17 fail-fast: false | |
| 18 matrix: | |
| 19 include: | |
| 20 - MSYSTEM: MINGW32 | |
| 21 MSYS2_ARCH: i686 | |
| 22 - MSYSTEM: MINGW64 | |
| 23 MSYS2_ARCH: x86_64 | |
| 24 name: ${{ matrix.MSYSTEM }} | |
| 25 | |
| 26 env: | |
| 27 # XXX: For some reason enabling jit debugging "fixes" random python crashes | |
| 28 # see https://github.com/msys2/MINGW-packages/issues/11864 | |
| 29 MSYS: "winjitdebug" | |
| 30 | |
| 31 defaults: | |
| 32 run: | |
| 33 shell: msys2 {0} | |
| 34 steps: | |
| 35 - uses: actions/checkout@v3 | |
| 36 - uses: msys2/setup-msys2@v2 | |
| 37 with: | |
| 38 msystem: ${{ matrix.MSYSTEM }} | |
| 39 update: true | |
| 40 install: >- | |
| 41 mingw-w64-${{ matrix.MSYS2_ARCH }}-cairo | |
| 42 mingw-w64-${{ matrix.MSYS2_ARCH }}-freetype | |
| 43 mingw-w64-${{ matrix.MSYS2_ARCH }}-gcc | |
| 44 mingw-w64-${{ matrix.MSYS2_ARCH }}-gcc-libs | |
| 45 mingw-w64-${{ matrix.MSYS2_ARCH }}-gettext | |
| 46 mingw-w64-${{ matrix.MSYS2_ARCH }}-glib2 | |
| 47 mingw-w64-${{ matrix.MSYS2_ARCH }}-gobject-introspection | |
| 48 mingw-w64-${{ matrix.MSYS2_ARCH }}-graphite2 | |
| 49 mingw-w64-${{ matrix.MSYS2_ARCH }}-icu | |
| 50 mingw-w64-${{ matrix.MSYS2_ARCH }}-meson | |
| 51 mingw-w64-${{ matrix.MSYS2_ARCH }}-ninja | |
| 52 mingw-w64-${{ matrix.MSYS2_ARCH }}-pkg-config | |
| 53 mingw-w64-${{ matrix.MSYS2_ARCH }}-python | |
| 54 mingw-w64-${{ matrix.MSYS2_ARCH }}-python-pip | |
| 55 mingw-w64-${{ matrix.MSYS2_ARCH }}-ragel | |
| 56 - name: Install Python Dependencies | |
| 57 run: | | |
| 58 pip install --upgrade fonttools | |
| 59 - name: Build | |
| 60 run: | | |
| 61 meson build \ | |
| 62 --wrap-mode=nodownload \ | |
| 63 --auto-features=enabled \ | |
| 64 -Ddirectwrite=enabled \ | |
| 65 -Dgdi=enabled \ | |
| 66 -Dgraphite=enabled \ | |
| 67 -Dchafa=disabled | |
| 68 ninja -C build | |
| 69 - name: Test | |
| 70 run: | | |
| 71 meson test \ | |
| 72 --print-errorlogs \ | |
| 73 --suite=harfbuzz \ | |
| 74 -C build |
