Skip to content
Snippets Groups Projects
Commit efb987f5 authored by Signal Linden's avatar Signal Linden
Browse files

Run on windows-2022-large

parent 6112e92b
No related branches found
No related tags found
No related merge requests found
...@@ -10,14 +10,14 @@ jobs: ...@@ -10,14 +10,14 @@ jobs:
build: build:
strategy: strategy:
matrix: matrix:
runner: [windows_2022_public] runner: [windows-2022-large]
configuration: [ReleaseOS] configuration: [ReleaseOS]
addrsize: [64] addrsize: [64]
include: include:
- runner: windows_2022_public - runner: windows-2022-large
configuration: ReleaseOS configuration: ReleaseOS
addrsize: 32 addrsize: 32
runs-on: ${{ matrix.runner }} runs-on: [${{ matrix.runner }}]
env: env:
AUTOBUILD_CONFIGURATION: ${{ matrix.configuration }} AUTOBUILD_CONFIGURATION: ${{ matrix.configuration }}
AUTOBUILD_ADDRSIZE: ${{ matrix.addrsize }} AUTOBUILD_ADDRSIZE: ${{ matrix.addrsize }}
...@@ -43,7 +43,7 @@ jobs: ...@@ -43,7 +43,7 @@ jobs:
id: cache-installables id: cache-installables
with: with:
path: .autobuild-installables path: .autobuild-installables
key: ${{ matrix.os }}-${{ matrix.addrsize }}-${{ matrix.configuration }}-${{ hashFiles('autobuild.xml') }} key: ${{ matrix.runner }}-${{ matrix.addrsize }}-${{ matrix.configuration }}-${{ hashFiles('autobuild.xml') }}
- name: Install windows dependencies - name: Install windows dependencies
if: runner.os == 'Windows' if: runner.os == 'Windows'
......
...@@ -55,15 +55,6 @@ if (WINDOWS) ...@@ -55,15 +55,6 @@ if (WINDOWS)
# http://www.cmake.org/pipermail/cmake/2009-September/032143.html # http://www.cmake.org/pipermail/cmake/2009-September/032143.html
string(REPLACE "/Zm1000" " " CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) string(REPLACE "/Zm1000" " " CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
# Without PreferredToolArchitecture=x64, as of 2020-06-26 the 32-bit
# compiler on our TeamCity build hosts has started running out of virtual
# memory for the precompiled header file.
# CP changed to only append the flag for 32bit builds - on 64bit builds,
# locally at least, the build output is spammed with 1000s of 'D9002'
# warnings about this switch being ignored.
if( ADDRESS_SIZE EQUAL 32 )
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /p:PreferredToolArchitecture=x64")
endif()
# zlib has assembly-language object files incompatible with SAFESEH # zlib has assembly-language object files incompatible with SAFESEH
add_link_options(/LARGEADDRESSAWARE add_link_options(/LARGEADDRESSAWARE
/SAFESEH:NO /SAFESEH:NO
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment