From a06e957795ee5dfc33aad8cfb1dee64595cd391e Mon Sep 17 00:00:00 2001 From: Konrad Date: Wed, 20 Nov 2024 14:44:08 +0100 Subject: [PATCH] chore: update ubuntu version on circleci 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 --- .github/workflows/main.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ac8453a..e72a6b1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,7 +28,7 @@ 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'] @@ -36,7 +36,9 @@ jobs: 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