Skip to content

Do we really need this? #96

Do we really need this?

Do we really need this? #96

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Testing on Linux
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches:
- '*'
pull_request:
branches:
- '*'
env:
DEB_DH_SHLIBDEPS_ARGS_ALL: "--dpkg-shlibdeps-params=--ignore-missing-info"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build_all:
strategy:
matrix:
os:
- runs-on: ubuntu-20.04
- runs-on: ubuntu-latest
runs-on: ${{ matrix.os.runs-on }}
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
# Runs a single command using the runners shell
- name: build and run tests packages with all featured readers
run: |
sudo apt update
sudo apt install -y libgraphicsmagick1-dev libpng-dev libexiv2-dev libtiff-dev libjpeg-dev libxml2-dev libbz2-dev libfreetype6-dev libpstoedit-dev autoconf automake libtool intltool autopoint
./autogen.sh
./configure
make
make check
shell: bash
build_with_latest_imagemagick_6:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
# Runs a single command using the runners shell
- name: build and run tests package against ImageMagick 6 only
run: |
sudo apt update
sudo apt install -y libmagickcore-6.q16-dev libpng-dev libexiv2-dev libtiff-dev libjpeg-dev libxml2-dev libbz2-dev libfreetype6-dev libpstoedit-dev autoconf automake libtool intltool autopoint
./autogen.sh
./configure --enable-magick-readers
make
make check
build_with_latest_imagemagick_7:
runs-on: ubuntu-latest
container: fedora:38
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
# Runs a single command using the runners shell
- name: build and run tests package against ImageMagick 7 only
run: |
sudo dnf update -y
sudo dnf install -y ImageMagick-devel autoconf automake gcc gcc-c++ gettext-devel glib2-devel intltool libpng-devel libstdc++-devel libtiff-devel libtool make pkgconf-pkg-config procps-ng pstoedit-devel which
./autogen.sh
./configure --enable-magick-readers
make
make check
build_with_pstoedit_4_00:
runs-on: ubuntu-latest
container: fedora:39
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
# Runs a single command using the runners shell
- name: build and run tests package against pstoedit 4.00
run: |
sudo dnf update -y
sudo dnf install -y ImageMagick-devel autoconf automake gcc gcc-c++ gettext-devel glib2-devel intltool libpng-devel libstdc++-devel libtiff-devel libtool make pkgconf-pkg-config procps-ng pstoedit-devel which
./autogen.sh
./configure --enable-magick-readers
make
make check
build_with_latest_graphicsmagick:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
# Runs a single command using the runners shell
- name: build and run tests package against GraphicsMagick only
run: |
sudo apt update
sudo apt install -y libgraphicsmagick1-dev libpng-dev libexiv2-dev libtiff-dev libjpeg-dev libxml2-dev libbz2-dev libfreetype6-dev libpstoedit-dev autoconf automake libtool intltool autopoint
./autogen.sh
./configure --enable-magick-readers
make
make check