Add support for vips #42
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ruby | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Ruby ${{ matrix.ruby }} | |
strategy: | |
matrix: | |
ruby: | |
- '3.3' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build dockerfile.vips | |
uses: docker/build-push-action@v5 | |
with: | |
context: . | |
file: ./Dockerfile.vips | |
tags: vips:latest | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
load: true | |
- run: docker run --rm vips:latest bundle exec rake test X=/image_magick/ | |
- name: Build dockerfile.imagemagick | |
uses: docker/build-push-action@v5 | |
with: | |
context: . | |
file: ./Dockerfile.imagemagick | |
tags: imagemagick:latest | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
load: true | |
- run: docker run --rm imagemagick:latest bundle exec rake test X=/vips/ |