freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype][master] CI: Add macOS CI, including a clang bui


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype][master] CI: Add macOS CI, including a clang build
Date: Tue, 12 Oct 2021 18:57:48 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType

Commits:

1 changed file:

Changes:

  • .gitlab-ci.yml
    ... ... @@ -23,6 +23,11 @@ variables:
    23 23
       image: 'registry.freedesktop.org/freetype/docker-images/debian:latest'
    
    24 24
       stage: 'build'
    
    25 25
     
    
    26
    +.build macos common:
    
    27
    +  stage: 'build'
    
    28
    +  tags:
    
    29
    +    - 'gst-macos-11.1'
    
    30
    +
    
    26 31
     .build windows meson:
    
    27 32
       extends: '.build windows common'
    
    28 33
       variables:
    
    ... ... @@ -142,3 +147,37 @@ linux cmake libs:
    142 147
                        -D FT_REQUIRE_ZLIB=TRUE
    
    143 148
     
    
    144 149
         cmake --build build --target install
    
    150
    +
    
    151
    +macos autotools:
    
    152
    +  extends: '.build macos common'
    
    153
    +  before_script:
    
    154
    +    - '/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"'
    
    155
    +  script:
    
    156
    +    - brew install autoconf automake libtool
    
    157
    +    - ./autogen.sh
    
    158
    +    - ./configure
    
    159
    +    - 'make -j$(sysctl -n hw.logicalcpu)'
    
    160
    +    - make install
    
    161
    +
    
    162
    +macos autotools clang:
    
    163
    +  extends: '.build macos common'
    
    164
    +  before_script:
    
    165
    +    - '/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"'
    
    166
    +  script:
    
    167
    +    - brew install autoconf automake libtool
    
    168
    +    - ./autogen.sh
    
    169
    +    - './configure CC=clang'
    
    170
    +    - 'make -j$(sysctl -n hw.logicalcpu)'
    
    171
    +    - make install
    
    172
    +
    
    173
    +macos meson:
    
    174
    +  extends: '.build macos common'
    
    175
    +  script:
    
    176
    +    - pip3 install --upgrade pip
    
    177
    +    - pip3 install -U meson
    
    178
    +    - pip3 install --upgrade certifi
    
    179
    +    - pip3 install -U ninja
    
    180
    +    
    
    181
    +    - meson setup build
    
    182
    +    - meson compile --verbose -C build
    
    183
    +    - sudo meson install -C build


  • reply via email to

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