Skip to content

Commit

Permalink
fix CI's error "You must have ImageMagick or GraphicsMagick installed"
Browse files Browse the repository at this point in the history
  • Loading branch information
maatinito committed Jan 14, 2025
1 parent 845707d commit e35adfe
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup the app code and dependancies
- name: Setup the app code and dependencies
uses: ./.github/actions/ci-setup-rails

- name: Run linters
Expand Down Expand Up @@ -79,10 +79,11 @@ jobs:
- uses: actions/checkout@v4

- name: Install build dependancies
# - imagemagick no longer be installed by default (since 2024-01-14)
# - fonts pickable by ImageMagick
# - rust for YJIT support
# - poppler-utils for pdf previews
run: sudo apt-get update && sudo apt-get install -y gsfonts rustc redis-server poppler-utils
run: sudo apt-get update && sudo apt-get install -y gsfonts rustc redis-server poppler-utils imagemagick

- name: Setup the app runtime and dependencies
uses: ./.github/actions/ci-setup-rails
Expand Down Expand Up @@ -139,6 +140,11 @@ jobs:
instances: [0, 1]

steps:
- name: Install tools dependencies
# - imagemagick no longer be installed by default (since 2024-01-14)
# - fonts pickable by ImageMagick
run: sudo apt-get update && sudo apt-get install -y gsfonts imagemagick

- uses: actions/checkout@v4

- name: Setup the app runtime and dependencies
Expand Down

0 comments on commit e35adfe

Please sign in to comment.