dist: jammy
language: c
compiler:
  - gcc
addons:
  apt:
    packages:
      - libcapstone-dev
      - libpng-dev
      - libreadline-dev
      - libsdl2-dev
      - imagemagick
      - tidy

before_script:
  - ./configure ${CONFIG}
script:
  - make -j3 && ctest -j2

matrix:
  include:

    - env:
        - CONFIG="--enable-werror --enable-debug"
      arch: ppc64le
      script:
        - make -j4 && ctest -j$(nproc)

    - env:
        - CONFIG="--enable-werror --enable-debug"
      arch: s390x
