Skip to content
This repository was archived by the owner on Apr 11, 2025. It is now read-only.

Commit d3412d2

Browse files
committed
Fix CI: mac-os specific ghostscript install
Thanks to this source: https://jonathansoma.com/everything/pdfs/camelot-ghostscript/
1 parent c63073d commit d3412d2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ jobs:
7575
sudo apt update
7676
sudo apt install ghostscript
7777
78+
- name: Install ghostscript (macos-latest)
79+
if: matrix.os == 'macos-latest'
80+
run: |
81+
brew install ghostscript
82+
mkdir -p ~/lib
83+
ln -s "$(brew --prefix gs)/lib/libgs.dylib" ~/lib
84+
7885
- name: Compute pre-commit cache key
7986
if: matrix.session == 'pre-commit'
8087
id: pre-commit-cache

0 commit comments

Comments
 (0)