Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/leptonica/.github/workflows/sw.yml @ 3:2c135c81b16c
MERGE: upstream PyMuPDF 1.26.4 with MuPDF 1.26.7
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:44:09 +0200 |
| parents | b50eed0cc0ef |
| children |
comparison
equal
deleted
inserted
replaced
| 0:6015a75abc2d | 3:2c135c81b16c |
|---|---|
| 1 name: sw | |
| 2 | |
| 3 on: [push, pull_request] | |
| 4 | |
| 5 jobs: | |
| 6 windows: | |
| 7 runs-on: windows-latest | |
| 8 steps: | |
| 9 - uses: actions/checkout@v4 | |
| 10 - uses: egorpugin/sw-action@master | |
| 11 - run: ./sw build -static -shared -config d,r | |
| 12 | |
| 13 linux: | |
| 14 runs-on: ubuntu-22.04 | |
| 15 container: fedora:latest | |
| 16 steps: | |
| 17 - uses: actions/checkout@v4 | |
| 18 - name: prepare | |
| 19 run: | | |
| 20 sudo dnf -y update | |
| 21 sudo dnf -y install cmake which g++ clang clang-tools-extra lld | |
| 22 - uses: egorpugin/sw-action@master | |
| 23 - run: ./sw build -static -shared -config d,r | |
| 24 | |
| 25 macos: | |
| 26 runs-on: macos-latest | |
| 27 steps: | |
| 28 - uses: actions/checkout@v4 | |
| 29 - uses: egorpugin/sw-action@master | |
| 30 - name: install | |
| 31 run: | | |
| 32 brew update | |
| 33 brew install flex bison gcc llvm | |
| 34 - name: build | |
| 35 run: | | |
| 36 export PATH="/opt/homebrew/opt/bison/bin:$PATH" | |
| 37 export PATH="/opt/homebrew/opt/flex/bin:$PATH" | |
| 38 export PATH="/opt/homebrew/opt/llvm/bin:$PATH" | |
| 39 export PATH="/opt/homebrew/opt/gcc/bin:$PATH" | |
| 40 ./sw build -static -shared -config d,r -compiler gcc-14 | |
| 41 |
