Compare commits

...

3 Commits

Author SHA1 Message Date
Alexei Podtelezhnikov
5f1d61a576 * .gitlab-ci.yml: Formatting. 2023-12-18 16:36:07 +00:00
Alexei Podtelezhnikov
77c7985f93 [ci] Add MSBuild color. 2023-12-18 14:13:26 +00:00
Anurag Thakur
a127214a05 [ci] Add support for MSBUILD builds on windows
This adds msbuild job for VS2019 (x64)

* .gitlab-ci.yml: Added "windows msbuild vs2019 amd64"
2023-12-17 00:56:53 +05:30

View File

@ -74,9 +74,24 @@ variables:
meson compile --verbose -C build
$env:MESON_WINDOWS_TESTS"
.build windows msbuild:
extends: '.build windows common'
variables:
# Make sure any failure in PowerShell scripts is fatal.
ErrorActionPreference: 'Stop'
WarningPreference: 'Stop'
script:
- git submodule update --init --recursive
- cmd.exe /C "C:\BuildTools\Common7\Tools\VsDevCmd.bat -host_arch=amd64 -arch=$env:ARCH &&
MSBuild.exe -clp:ForceConsoleColor -t:Rebuild
-p:Configuration=Debug
-p:Platform=$env:PLATFORM
-p:UserDefines=FT_DEBUG_LOGGING
MSBuild.sln"
# Format of job names:
# <OS> <Build-Tool> <Build-Params> <Architecture>
# <OS> <Build-Tool> <Build-Params> <Architecture>:
# Windows jobs.
@ -100,6 +115,13 @@ windows meson vs2019 amd64 uwp:
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'
variables:
ARCH: 'amd64'
PLATFORM: 'x64'
# Linux Jobs.
#
# Jobs with "libs" in the name force-enable libraries.