freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][freetype/freetype-demos][ci] * .gitlab-ci.yml: Initial introductio


From: Charlie Jiang (@cqjjjzr)
Subject: [Git][freetype/freetype-demos][ci] * .gitlab-ci.yml: Initial introduction of CI.
Date: Sun, 03 Jul 2022 12:02:56 +0000

Charlie Jiang pushed to branch ci at FreeType / FreeType Demo Programs

Commits:

  • d41465d8
    by Charlie Jiang at 2022-07-03T19:17:37+08:00
    * .gitlab-ci.yml: Initial introduction of CI.
    
    This configuration only supports Meson build on Linux. Windows and macOS would
    be supported in the future. There's no plan to support autotools and CMake by
    now.
    
    The Linux build leverages `ci-templates` project to build the base image for
    the build environment.
    

1 changed file:

Changes:

  • .gitlab-ci.yml
    1
    +include:
    
    2
    +- project: 'freedesktop/ci-templates'
    
    3
    +  ref: 9dc112a981fb523b7c34f00b386b4e3b2e7da2c6
    
    4
    +  file: '/templates/ubuntu.yml'
    
    5
    +
    
    6
    +stages:
    
    7
    +- prep
    
    8
    +- build
    
    9
    +
    
    10
    +variables:
    
    11
    +  FDO_UPSTREAM_REPO: freetype/freetype-demos
    
    12
    +
    
    13
    +.ftdemos.ubuntu:2204:
    
    14
    +  variables:
    
    15
    +    FDO_DISTRIBUTION_VERSION: '22.04'
    
    16
    +    FDO_DISTRIBUTION_TAG: '2022-07-03.0'
    
    17
    +
    
    18
    +build-ubuntu-container:
    
    19
    +  extends:
    
    20
    +  - .fdo.container-build@ubuntu     # the CI template
    
    21
    +  - .ftdemos.ubuntu:2204            # our template job above
    
    22
    +  stage: prep
    
    23
    +  variables:
    
    24
    +    # Packages to install on the container
    
    25
    +    FDO_DISTRIBUTION_PACKAGES: >-
    
    26
    +      git gcc cmake ninja-build
    
    27
    +      pkg-config librsvg2-dev qtbase5-dev
    
    28
    +      python3-pip
    
    29
    +    FDO_DISTRIBUTION_EXEC: |
    
    30
    +      pip3 install meson
    
    31
    +      
    
    32
    +
    
    33
    +build linux meson:
    
    34
    +  extends:
    
    35
    +  - .fdo.distribution-image@ubuntu
    
    36
    +  - .ftdemos.ubuntu:2204
    
    37
    +  stage: build
    
    38
    +  script:
    
    39
    +  - meson builddir
    
    40
    +  - ninja -C builddir
    
    41
    +
    
    42
    +# TODO: Windows, macOS


  • reply via email to

    [Prev in Thread] Current Thread [Next in Thread]