Skip to content

Commit

Permalink
chore: update ubuntu version on circleci
Browse files Browse the repository at this point in the history
The default 22.04 uses older libvips (8.12.1) than local development (8.14.1), causing subtle rendering differences.
24.04 happens to use even newer (8.15.1), lets see how the differences look like there

Requires installing imagemagick which is not included in 24.04
  • Loading branch information
knarewski committed Nov 21, 2024
1 parent 2904f50 commit a06e957
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,17 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tests:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
matrix:
ruby: ['2.7', '3.0', '3.1', '3.2', '3.3']
name: install dependencies and run tests
steps:
- name: install image processing dependencies
run: |
sudo apt-get install -yqq liblcms2-utils libglib2.0-dev libgtk2.0-dev libgdk-pixbuf2.0-dev libvips
sudo apt-get update \
&& sudo apt-get install -yqq \
liblcms2-utils libglib2.0-dev libgtk2.0-dev libgdk-pixbuf2.0-dev imagemagick libvips
- name: checkout repo
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: unlock the gem versions
Expand Down

0 comments on commit a06e957

Please sign in to comment.