Mercurial > hgrepos > Python2 > PyMuPDF
diff mupdf-source/thirdparty/leptonica/.github/workflows/sw.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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mupdf-source/thirdparty/leptonica/.github/workflows/sw.yml Mon Sep 15 11:43:07 2025 +0200 @@ -0,0 +1,41 @@ +name: sw + +on: [push, pull_request] + +jobs: + windows: + runs-on: windows-latest + steps: + - uses: actions/checkout@v4 + - uses: egorpugin/sw-action@master + - run: ./sw build -static -shared -config d,r + + linux: + runs-on: ubuntu-22.04 + container: fedora:latest + steps: + - uses: actions/checkout@v4 + - name: prepare + run: | + sudo dnf -y update + sudo dnf -y install cmake which g++ clang clang-tools-extra lld + - uses: egorpugin/sw-action@master + - run: ./sw build -static -shared -config d,r + + macos: + runs-on: macos-latest + steps: + - uses: actions/checkout@v4 + - uses: egorpugin/sw-action@master + - name: install + run: | + brew update + brew install flex bison gcc llvm + - name: build + run: | + export PATH="/opt/homebrew/opt/bison/bin:$PATH" + export PATH="/opt/homebrew/opt/flex/bin:$PATH" + export PATH="/opt/homebrew/opt/llvm/bin:$PATH" + export PATH="/opt/homebrew/opt/gcc/bin:$PATH" + ./sw build -static -shared -config d,r -compiler gcc-14 +
