freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype][master] [CI] Introduce linux CI and refactor jo


From: Werner Lemberg (@wl)
Subject: [Git][freetype/freetype][master] [CI] Introduce linux CI and refactor job names
Date: Tue, 29 Jun 2021 06:45:03 +0000

Werner Lemberg pushed to branch master at FreeType / FreeType

Commits:

2 changed files:

Changes:

  • .gitlab-ci.yml
    ... ... @@ -6,9 +6,9 @@ variables:
    6 6
       MESON_ARGS: --fatal-meson-warnings
    
    7 7
       MESON_ARGS_WINDOWS: ${MESON_ARGS} --force-fallback-for="">
    
    8 8
     
    
    9
    -.build meson windows:
    
    9
    +.build windows common:
    
    10 10
       # See
    
    11
    -  #   https://gitlab.freedesktop.org/gstreamer/gst-ci/container_registry/213
    
    11
    +  # https://gitlab.freedesktop.org/gstreamer/gst-ci/container_registry/213
    
    12 12
       image: 'registry.freedesktop.org/gstreamer/gst-ci/amd64/windows:v14-master'
    
    13 13
       stage: 'build'
    
    14 14
       tags:
    
    ... ... @@ -16,6 +16,15 @@ variables:
    16 16
         - 'windows'
    
    17 17
         - '1809'
    
    18 18
         - 'gstreamer-windows'
    
    19
    +
    
    20
    +.build linux common:
    
    21
    +  # See
    
    22
    +  # https://gitlab.freedesktop.org/freetype/docker-images/container_registry/20896
    
    23
    +  image: 'registry.freedesktop.org/freetype/docker-images/debian:latest'
    
    24
    +  stage: 'build'
    
    25
    +
    
    26
    +.build windows meson:
    
    27
    +  extends: '.build windows common'
    
    19 28
       variables:
    
    20 29
         # Make sure any failure in PowerShell scripts is fatal.
    
    21 30
         ErrorActionPreference: 'Stop'
    
    ... ... @@ -43,12 +52,92 @@ variables:
    43 52
             meson test -C build &&
    
    44 53
             meson test -C build --benchmark"
    
    45 54
     
    
    46
    -meson vs2017 amd64:
    
    47
    -  extends: '.build meson windows'
    
    55
    +
    
    56
    +# Format of job names:
    
    57
    +# <OS> <Build-Tool> <Build-Params> <Architecture> 
    
    58
    +
    
    59
    +
    
    60
    +# Windows jobs
    
    61
    +windows meson vs2017 amd64:
    
    62
    +  extends: '.build windows meson'
    
    48 63
       variables:
    
    49 64
         ARCH: 'amd64'
    
    50 65
     
    
    51
    -meson vs2017 x86:
    
    52
    -  extends: '.build meson windows'
    
    66
    +windows meson vs2017 x86:
    
    67
    +  extends: '.build windows meson'
    
    53 68
       variables:
    
    54 69
         ARCH: 'x86'
    
    70
    +
    
    71
    +
    
    72
    +# Linux Jobs
    
    73
    +# Jobs with "libs" in the name force enable libraries.
    
    74
    +# They are disabled in rest of the jobs.
    
    75
    +linux autotools:
    
    76
    +  extends: '.build linux common'
    
    77
    +  script: |
    
    78
    +    ./autogen.sh
    
    79
    +    ./configure --with-brotli=no \
    
    80
    +                --with-bzip2=no \
    
    81
    +                --with-harfbuzz=no \
    
    82
    +                --with-png=no \
    
    83
    +                --with-zlib=no
    
    84
    +
    
    85
    +    make -j$(nproc) && make install
    
    86
    +
    
    87
    +linux autotools libs:
    
    88
    +  extends: '.build linux common'
    
    89
    +  script: |
    
    90
    +    ./autogen.sh
    
    91
    +    ./configure --with-brotli=yes \
    
    92
    +                --with-bzip2=yes \
    
    93
    +                --with-harfbuzz=yes \
    
    94
    +                --with-png=yes \
    
    95
    +                --with-zlib=yes
    
    96
    +
    
    97
    +    make -j$(nproc) && make install
    
    98
    +
    
    99
    +linux meson:
    
    100
    +  extends: '.build linux common'
    
    101
    +  script: |
    
    102
    +    meson setup build -Dbrotli=disabled \
    
    103
    +                      -Dbzip2=disabled \
    
    104
    +                      -Dharfbuzz=disabled \
    
    105
    +                      -Dpng=disabled \
    
    106
    +                      -Dzlib=disabled
    
    107
    +
    
    108
    +    meson compile --verbose -C build
    
    109
    +    meson install -C build
    
    110
    +
    
    111
    +linux meson libs:
    
    112
    +  extends: '.build linux common'
    
    113
    +  script: |
    
    114
    +    meson setup build -Dbrotli=enabled \
    
    115
    +                      -Dbzip2=enabled \
    
    116
    +                      -Dharfbuzz=disabled \
    
    117
    +                      -Dpng=disabled \
    
    118
    +                      -Dzlib=disabled
    
    119
    +
    
    120
    +    meson compile --verbose -C build
    
    121
    +    meson install -C build
    
    122
    +
    
    123
    +linux cmake:
    
    124
    +  extends: '.build linux common'
    
    125
    +  script: |
    
    126
    +    cmake -B build -D FT_WITH_BROTLI=OFF \
    
    127
    +                   -D FT_WITH_BZIP2=OFF \
    
    128
    +                   -D FT_WITH_HARFBUZZ=OFF \
    
    129
    +                   -D FT_WITH_PNG=OFF \
    
    130
    +                   -D FT_WITH_ZLIB=OFF
    
    131
    +
    
    132
    +    cmake --build build --target install
    
    133
    +
    
    134
    +linux cmake libs:
    
    135
    +  extends: '.build linux common'
    
    136
    +  script: |
    
    137
    +    cmake -B build -D FT_WITH_BROTLI=ON \
    
    138
    +                   -D FT_WITH_BZIP2=ON \
    
    139
    +                   -D FT_WITH_HARFBUZZ=ON \
    
    140
    +                   -D FT_WITH_PNG=ON \
    
    141
    +                   -D FT_WITH_ZLIB=ON
    
    142
    +
    
    143
    +    cmake --build build --target install

  • ChangeLog
    1
    +2021-06-25  Anurag Thakur  <anuthadev@gmail.com>
    
    2
    +
    
    3
    +	[CI] Introduce linux CI and refactor job names.
    
    4
    +
    
    5
    +	* .gitlab-ci.yml: Added jobs for building freetype on linux.
    
    6
    +
    
    1 7
     2021-06-28  Alexei Podtelezhnikov  <apodtele@gmail.com>
    
    2 8
     
    
    3 9
     	[raster] Handle Bézier stack locally.
    


  • reply via email to

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