summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 0b0ec2e3b3115a3e7ac89245ac2075ed0afcb280 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
stages:
  - build

ubuntu-build:
  stage: build
  parallel:
    matrix:
      - UBUNTU_VERSION: "20.04"
      - UBUNTU_VERSION: "22.04"
  image: ubuntu:$UBUNTU_VERSION
  script:
    - export DEBIAN_FRONTEND=noninteractive
    - apt-get update
    - apt-get install -y
        build-essential
        cmake
        gettext
        libcurl4-openssl-dev
        libguichan-dev
        libphysfs-dev
        libpng-dev
        libsdl2-dev
        libsdl2-image-dev
        libsdl2-mixer-dev
        libsdl2-net-dev
        libsdl2-ttf-dev
        libxml2-dev
        ninja-build
    - cmake -G Ninja -B build .
    - cmake --build build