Skip to content

CI: Update ImageMagick to 7.1.1-33 #441

CI: Update ImageMagick to 7.1.1-33

CI: Update ImageMagick to 7.1.1-33 #441

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-22.04
timeout-minutes: 20
strategy:
matrix:
ruby-version: ['3.0']
imagemagick-version:
- { full: 7.1.1-33, major-minor: '7.1' }
name: Lint (Ruby ${{ matrix.ruby-version }}, ImageMagick ${{ matrix.imagemagick-version.major-minor }})
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Cache ImageMagick
uses: actions/cache@v4
with:
path: ./build-ImageMagick
key: v1-linux-imagemagick-${{ matrix.imagemagick-version.full }}
restore-keys: |
v1-linux-imagemagick-${{ matrix.imagemagick-version.full }}
- name: Install ImageMagick ${{ matrix.imagemagick-version.full }}
run: |
export IMAGEMAGICK_VERSION=${{ matrix.imagemagick-version.full }}
./before_install_linux.sh
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@master
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Install dependencies
run: bundle install --path=vendor/bundle --jobs 4 --retry 3
- name: RuboCop Problem Matchers
uses: r7kamura/rubocop-problem-matchers-action@v1
- name: Run tests
run: bundle exec rubocop
test-ruby:
runs-on: ubuntu-22.04
timeout-minutes: 20
strategy:
matrix:
ruby-version: ['3.0', '3.1', '3.2', '3.3']
imagemagick-version:
- { full: 7.1.1-33, major-minor: '7.1' }
name: Ruby ${{ matrix.ruby-version }}
steps:
- uses: actions/checkout@v4
- name: Cache ImageMagick
uses: actions/cache@v4
with:
path: ./build-ImageMagick
key: v1-linux-imagemagick-${{ matrix.imagemagick-version.full }}
restore-keys: |
v1-linux-imagemagick-${{ matrix.imagemagick-version.full }}
- name: Install ImageMagick ${{ matrix.imagemagick-version.full }}
run: |
export IMAGEMAGICK_VERSION=${{ matrix.imagemagick-version.full }}
./before_install_linux.sh
- name: Set up Ruby
uses: ruby/setup-ruby@master
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: false
- name: Install dependencies
run: bundle install --path=vendor/bundle --jobs 4 --retry 3
- name: Run tests
run: bundle exec rake
test-jruby:
runs-on: ubuntu-22.04
timeout-minutes: 20
strategy:
matrix:
ruby-version: ['9.4.6.0']
name: JRuby ${{ matrix.ruby-version }}
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@master
with:
ruby-version: jruby-${{ matrix.ruby-version }}
bundler-cache: true
- name: Install dependencies
run: bundle install --path=vendor/bundle --jobs 4 --retry 3
- name: Run tests
run: bundle exec rake