|
1
|
+# CI setup for FreeType.
|
|
2
|
+
|
1
|
3
|
stages:
|
2
|
4
|
- build
|
3
|
5
|
|
... |
... |
@@ -34,20 +36,25 @@ variables: |
34
|
36
|
# Make sure any failure in PowerShell scripts is fatal.
|
35
|
37
|
ErrorActionPreference: 'Stop'
|
36
|
38
|
WarningPreference: 'Stop'
|
37
|
|
- # Uncomment the following key if need to pass custom args, as well with
|
38
|
|
- # the `$env:MESON_ARGS` line in the `script:` blocks.
|
|
39
|
+ # Uncomment the following key if you need to pass custom args, as well
|
|
40
|
+ # with the `$env:MESON_ARGS` line in the `script:` blocks.
|
39
|
41
|
# MESON_ARGS: >-
|
40
|
42
|
# -Dfoo=enabled
|
41
|
43
|
# -Dbar=disabled
|
42
|
44
|
before_script:
|
43
|
|
- # Make sure meson is up to date, so we don't need to rebuild the image
|
|
45
|
+ # Update RootCAs in order to access to some sites.
|
|
46
|
+ - certutil -generateSSTFromWU "C:\roots.sst"
|
|
47
|
+ - Import-Certificate -CertStoreLocation "Cert:\LocalMachine\Root" "C:\roots.sst"
|
|
48
|
+ # Make sure meson is up to date so we don't need to rebuild the image
|
44
|
49
|
# with each release.
|
45
|
50
|
- pip3 install meson==0.59.1
|
46
|
51
|
- pip3 install -U ninja
|
47
|
52
|
script:
|
48
|
53
|
# For some reason, options are separated by newlines instead of spaces,
|
49
|
54
|
# so we have to replace them first.
|
50
|
|
- #- $env:MESON_ARGS = $env:MESON_ARGS.replace("`n"," ")
|
|
55
|
+ #
|
|
56
|
+ # - $env:MESON_ARGS = $env:MESON_ARGS.replace("`n"," ")
|
|
57
|
+ #
|
51
|
58
|
# Gitlab executes PowerShell in docker, but `VsDevCmd.bat` is a batch
|
52
|
59
|
# script. Environment variables substitutions is done by PowerShell
|
53
|
60
|
# before calling `cmd.exe`, that's why we use `$env:FOO` instead of
|
... |
... |
@@ -63,7 +70,8 @@ variables: |
63
|
70
|
# <OS> <Build-Tool> <Build-Params> <Architecture>
|
64
|
71
|
|
65
|
72
|
|
66
|
|
-# Windows jobs
|
|
73
|
+# Windows jobs.
|
|
74
|
+
|
67
|
75
|
windows meson vs2017 amd64:
|
68
|
76
|
extends: '.build windows meson'
|
69
|
77
|
variables:
|
... |
... |
@@ -75,9 +83,11 @@ windows meson vs2017 x86: |
75
|
83
|
ARCH: 'x86'
|
76
|
84
|
|
77
|
85
|
|
78
|
|
-# Linux Jobs
|
79
|
|
-# Jobs with "libs" in the name force enable libraries.
|
80
|
|
-# They are disabled in rest of the jobs.
|
|
86
|
+# Linux Jobs.
|
|
87
|
+#
|
|
88
|
+# Jobs with "libs" in the name force-enable libraries.
|
|
89
|
+# They are disabled for the remaining jobs.
|
|
90
|
+
|
81
|
91
|
linux autotools:
|
82
|
92
|
extends: '.build linux common'
|
83
|
93
|
script: |
|
... |
... |
@@ -163,6 +173,9 @@ linux cmake libs: |
163
|
173
|
|
164
|
174
|
cmake --build build --target install
|
165
|
175
|
|
|
176
|
+
|
|
177
|
+# MacOS jobs.
|
|
178
|
+
|
166
|
179
|
macos autotools:
|
167
|
180
|
extends: '.build macos common'
|
168
|
181
|
before_script:
|