[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] uwp_ci a49887365: * .gitlab-ci.yml: Disable UWP compilation.
From: |
Werner Lemberg |
Subject: |
[freetype2] uwp_ci a49887365: * .gitlab-ci.yml: Disable UWP compilation. |
Date: |
Wed, 22 May 2024 23:06:12 -0400 (EDT) |
branch: uwp_ci
commit a498873652fd5a36a18b8b692ea7f87b47d06e1e
Author: Alexei Podtelezhnikov (Алексей Подтележников) <apodtele@gmail.com>
Commit: Alexei Podtelezhnikov <apodtele@gmail.com>
* .gitlab-ci.yml: Disable UWP compilation.
---
.gitlab-ci.yml | 29 ++++++-----------------------
1 file changed, 6 insertions(+), 23 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index faa0cd48a..3592724e1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -54,17 +54,7 @@ variables:
# Make sure meson is up to date so we don't need to rebuild the image
# with each release.
- pip3 install -U 'meson==0.59.*'
- - pip3 install --upgrade certifi
- pip3 install -U ninja
-
- # Generate a UWP cross-file in case it's used
- - $PSDefaultParameterValues['Out-File:Encoding'] = 'ASCII'
- - echo "[binaries]" > uwp-crossfile.meson
- - echo "c = 'cl'" >> uwp-crossfile.meson
- - echo "strip = ['true']" >> uwp-crossfile.meson
- - echo "[built-in options]" >> uwp-crossfile.meson
- - echo "c_args = ['-DWINAPI_FAMILY=WINAPI_FAMILY_APP', '-DUNICODE',
'-D_WIN32_WINNT=0x0A00', '-we4013']" >> uwp-crossfile.meson
- - echo "c_winlibs = ['windowsapp.lib']" >> uwp-crossfile.meson
script:
# For some reason, options are separated by newlines instead of spaces,
# so we have to replace them first.
@@ -75,10 +65,12 @@ variables:
# script. Environment variables substitutions is done by PowerShell
# before calling `cmd.exe`, that's why we use `$env:FOO` instead of
# `%FOO%`.
- - cmd.exe /C "C:\BuildTools\Common7\Tools\VsDevCmd.bat -host_arch=amd64
-arch=$env:ARCH $env:VS_UWP &&
- meson setup build $env:MESON_ARGS_WINDOWS $env:MESON_ARGS_UWP &&
- meson compile --verbose -C build
- $env:MESON_WINDOWS_TESTS"
+ - cmd.exe /C "C:\BuildTools\Common7\Tools\VsDevCmd.bat -host_arch=amd64
-arch=$env:ARCH &&
+ meson setup build $env:MESON_ARGS_WINDOWS &&
+ meson compile --verbose -C build &&
+ meson test -C build &&
+ meson test -C build --benchmark"
+
.build windows msbuild:
extends: '.build windows common'
@@ -106,20 +98,11 @@ windows meson vs2019 amd64:
extends: '.build windows meson'
variables:
ARCH: 'amd64'
- MESON_WINDOWS_TESTS: '&& meson test -C build && meson test -C build
--benchmark'
windows meson vs2019 x86:
extends: '.build windows meson'
variables:
ARCH: 'x86'
- MESON_WINDOWS_TESTS: '&& meson test -C build && meson test -C build
--benchmark'
-
-windows meson vs2019 amd64 uwp:
- extends: '.build windows meson'
- variables:
- ARCH: 'amd64'
- VS_UWP: '-app_platform=UWP'
- MESON_ARGS_UWP: '--cross-file uwp-crossfile.meson
-Dc_winlibs="windowsapp.lib"'
windows msbuild vs2019 amd64:
extends: '.build windows msbuild'
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] uwp_ci a49887365: * .gitlab-ci.yml: Disable UWP compilation.,
Werner Lemberg <=