.gitlab-ci.yml: Minor comment cleanups.

This commit is contained in:
Werner Lemberg 2022-01-12 06:21:52 +01:00
parent ca44a236a0
commit b647dbdeb8
1 changed files with 18 additions and 8 deletions

View File

@ -1,3 +1,5 @@
# CI setup for FreeType.
stages: stages:
- build - build
@ -34,8 +36,8 @@ variables:
# Make sure any failure in PowerShell scripts is fatal. # Make sure any failure in PowerShell scripts is fatal.
ErrorActionPreference: 'Stop' ErrorActionPreference: 'Stop'
WarningPreference: 'Stop' WarningPreference: 'Stop'
# Uncomment the following key if need to pass custom args, as well with # Uncomment the following key if you need to pass custom args, as well
# the `$env:MESON_ARGS` line in the `script:` blocks. # with the `$env:MESON_ARGS` line in the `script:` blocks.
# MESON_ARGS: >- # MESON_ARGS: >-
# -Dfoo=enabled # -Dfoo=enabled
# -Dbar=disabled # -Dbar=disabled
@ -43,14 +45,16 @@ variables:
# Update RootCAs in order to access to some sites. # Update RootCAs in order to access to some sites.
- certutil -generateSSTFromWU "C:\roots.sst" - certutil -generateSSTFromWU "C:\roots.sst"
- Import-Certificate -CertStoreLocation "Cert:\LocalMachine\Root" "C:\roots.sst" - Import-Certificate -CertStoreLocation "Cert:\LocalMachine\Root" "C:\roots.sst"
# Make sure meson is up to date, so we don't need to rebuild the image # Make sure meson is up to date so we don't need to rebuild the image
# with each release. # with each release.
- pip3 install meson==0.59.1 - pip3 install meson==0.59.1
- pip3 install -U ninja - pip3 install -U ninja
script: script:
# For some reason, options are separated by newlines instead of spaces, # For some reason, options are separated by newlines instead of spaces,
# so we have to replace them first. # so we have to replace them first.
#- $env:MESON_ARGS = $env:MESON_ARGS.replace("`n"," ") #
# - $env:MESON_ARGS = $env:MESON_ARGS.replace("`n"," ")
#
# Gitlab executes PowerShell in docker, but `VsDevCmd.bat` is a batch # Gitlab executes PowerShell in docker, but `VsDevCmd.bat` is a batch
# script. Environment variables substitutions is done by PowerShell # script. Environment variables substitutions is done by PowerShell
# before calling `cmd.exe`, that's why we use `$env:FOO` instead of # before calling `cmd.exe`, that's why we use `$env:FOO` instead of
@ -66,7 +70,8 @@ variables:
# <OS> <Build-Tool> <Build-Params> <Architecture> # <OS> <Build-Tool> <Build-Params> <Architecture>
# Windows jobs # Windows jobs.
windows meson vs2017 amd64: windows meson vs2017 amd64:
extends: '.build windows meson' extends: '.build windows meson'
variables: variables:
@ -78,9 +83,11 @@ windows meson vs2017 x86:
ARCH: 'x86' ARCH: 'x86'
# Linux Jobs # Linux Jobs.
# Jobs with "libs" in the name force enable libraries. #
# They are disabled in rest of the jobs. # Jobs with "libs" in the name force-enable libraries.
# They are disabled for the remaining jobs.
linux autotools: linux autotools:
extends: '.build linux common' extends: '.build linux common'
script: | script: |
@ -166,6 +173,9 @@ linux cmake libs:
cmake --build build --target install cmake --build build --target install
# MacOS jobs.
macos autotools: macos autotools:
extends: '.build macos common' extends: '.build macos common'
before_script: before_script: