stages:
  - build

fedora-latest:
  image: fedora:latest
  stage: build
  before_script:
    - dnf update -y && dnf -y install dnf-plugins-core redhat-rpm-config
    - dnf -y builddep folks
  script:
    # Configure
    - ./autogen.sh
    # Build
    - make -j
    # Run tests
    - make -j check

stages:
  - build

fedora-latest:
  image: fedora:latest
  stage: build
  variables:
    MAKEFLAGS: "-j8"
  before_script:
    - dnf update -y && dnf -y install dnf-plugins-core redhat-rpm-config
    - dnf -y builddep folks
  script:
    # Configure
    - ./autogen.sh
    # Build
    - make
    # Run tests
    - make check

Move MAKEFLAGS out into a CI-wide variable
ci: Move MAKEFLAGS out into a CI-wide variable

Means we only have to specify it in one place.

Signed-off-by: Philip Withnall <29c2a2ac2a854b9cf047275aa9de346d096be2e0@endlessm.com>
