Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/lcms2/.github/workflows/build.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: Build | |
| 2 | |
| 3 on: [push, pull_request] | |
| 4 | |
| 5 concurrency: | |
| 6 group: ${{ github.workflow }}-${{ github.job }}-${{ github.ref }} | |
| 7 cancel-in-progress: true | |
| 8 | |
| 9 permissions: read-all | |
| 10 | |
| 11 jobs: | |
| 12 | |
| 13 Ubuntu: | |
| 14 runs-on: ubuntu-latest | |
| 15 steps: | |
| 16 - uses: actions/checkout@v2 | |
| 17 - name: Build Ubuntu | |
| 18 run: | | |
| 19 ./configure --with-fastfloat --with-threaded | |
| 20 make | |
| 21 make check | |
| 22 | |
| 23 Ubuntu-20-04: | |
| 24 runs-on: ubuntu-20.04 | |
| 25 steps: | |
| 26 - uses: actions/checkout@v2 | |
| 27 - name: Build Ubuntu | |
| 28 run: | | |
| 29 ./configure --with-fastfloat --with-threaded | |
| 30 make | |
| 31 make check | |
| 32 | |
| 33 MacOS: | |
| 34 runs-on: macos-latest | |
| 35 steps: | |
| 36 - uses: actions/checkout@v2 | |
| 37 - name: Build MacOS | |
| 38 run: | | |
| 39 ./configure --with-fastfloat --with-threaded | |
| 40 make | |
| 41 make check | |
| 42 | |
| 43 Windows-64: | |
| 44 runs-on: windows-latest | |
| 45 | |
| 46 steps: | |
| 47 - uses: actions/checkout@v2 | |
| 48 - uses: ilammy/msvc-dev-cmd@v1 | |
| 49 with: | |
| 50 arch: x64 | |
| 51 | |
| 52 - name: Build Windows 64 bit | |
| 53 run: devenv .\Projects\VC2019\lcms2.sln /Rebuild "Release|x64" /Project testbed | |
| 54 | |
| 55 - name: Run tests | |
| 56 run: testbed\testbed.exe --chdir testbed | |
| 57 | |
| 58 | |
| 59 Windows-32: | |
| 60 runs-on: windows-latest | |
| 61 steps: | |
| 62 - uses: actions/checkout@v2 | |
| 63 - uses: ilammy/msvc-dev-cmd@v1 | |
| 64 with: | |
| 65 arch: win32 | |
| 66 | |
| 67 - name: Build Windows 32 bit | |
| 68 run: devenv .\Projects\VC2019\lcms2.sln /Rebuild "Release|Win32" /Project testbed | |
| 69 | |
| 70 - name: Run tests | |
| 71 run: testbed\testbed.exe --chdir testbed | |
| 72 | |
| 73 | |
| 74 Ubuntu-meson: | |
| 75 runs-on: ubuntu-latest | |
| 76 steps: | |
| 77 - uses: actions/checkout@v2 | |
| 78 | |
| 79 - name: Install packages | |
| 80 run: | | |
| 81 sudo apt-get -y install build-essential python3-pip ninja-build | |
| 82 pip install meson==0.59.2 | |
| 83 | |
| 84 - name: Build Ubuntu | |
| 85 run: | | |
| 86 meson setup build -Dfastfloat=true -Dthreaded=true | |
| 87 meson compile -C build | |
| 88 meson test -C build | |
| 89 | |
| 90 VisualStudio-meson: | |
| 91 runs-on: windows-latest | |
| 92 | |
| 93 steps: | |
| 94 - uses: actions/checkout@v2 | |
| 95 | |
| 96 - name: Install packages | |
| 97 run: | | |
| 98 pip install meson==0.59.2 | |
| 99 | |
| 100 - uses: ilammy/msvc-dev-cmd@v1 | |
| 101 - name: Build Windows | |
| 102 run: | | |
| 103 meson setup build | |
| 104 meson compile -C build | |
| 105 meson test -C build | |
| 106 |
