diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bb078e244..f6eb53ae9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -75,6 +75,21 @@ variables: $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 -t:Rebuild + -p:Configuration=Debug + -p:Platform=$env:PLATFORM + -p:UserDefines=FT_DEBUG_LOGGING + MSBuild.sln" + # Format of job names: # @@ -100,6 +115,11 @@ 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.