summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2022-05-30 02:01:56 -0600
committerDan Allen <dan.j.allen@gmail.com>2022-05-30 02:01:56 -0600
commit760c4343ca73ffd170aa9a02bd8303385861ed4c (patch)
treeda206e124f0deed9a57c9df4fcfaf7370e19551f /.github
parentb2e06079c641e523500fdb4acecb900366a395bf (diff)
test prawn-gmagick integration on macOS
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 199d59d8..b52acccc 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -111,11 +111,16 @@ jobs:
run: |
choco install --no-progress ghostscript poppler
echo "GS=$(& where.exe /R 'C:\Program Files\gs' gswin64c.exe)" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
- - name: Set Prawn Gmagick version / Install GraphicsMagick (Linux only)
+ - name: Set Prawn Gmagick version / Install GraphicsMagick (Linux)
if: matrix.primary
run: |
echo 'PRAWN_GMAGICK_VERSION=0.0.9' >> $GITHUB_ENV
sudo apt-get install libgraphicsmagick1-dev
+ - name: Set Prawn Gmagick version / Install GraphicsMagick (macOS)
+ if: matrix.os == 'macos-latest'
+ run: |
+ echo 'PRAWN_GMAGICK_VERSION=0.0.9' >> $GITHUB_ENV
+ brew install GraphicsMagick
- name: Set Rouge version
if: matrix.rouge-version
run: echo 'ROUGE_VERSION=${{ matrix.rouge-version }}' >> $GITHUB_ENV