Pin to windows-2022

This commit is contained in:
Xiphoseer 2022-01-05 14:21:59 +01:00
parent adab6cf96f
commit 5e7566c89a
2 changed files with 9 additions and 9 deletions

View File

@ -12,14 +12,14 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ windows-latest, ubuntu-latest ]
os: [ windows-2022, ubuntu-latest ]
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Add msbuild to PATH (windows only)
if: ${{ matrix.os == 'windows-latest' }}
if: ${{ matrix.os == 'windows-2022' }}
uses: microsoft/setup-msbuild@v1.1
with:
vs-version: '[16,17)'

View File

@ -20,11 +20,11 @@
"inherits": "default"
},
{
"name": "ci-windows-latest",
"name": "ci-windows-2022",
"displayName": "CI configure step for Windows",
"description": "Set architecture to 64-bit (b/c RakNet)",
"inherits": "default",
"generator": "Visual Studio 16 2019",
"generator": "Visual Studio 17 2022",
"architecture": {
"value": "x64"
},
@ -34,7 +34,7 @@
},
{
"name": "windows-default",
"inherits": "ci-windows-latest",
"inherits": "ci-windows-2022",
"displayName": "Windows only Configure Settings",
"description": "Sets build and install directories",
"generator": "Ninja",
@ -53,8 +53,8 @@
"jobs": 2
},
{
"name": "ci-windows-latest",
"configurePreset": "ci-windows-latest",
"name": "ci-windows-2022",
"configurePreset": "ci-windows-2022",
"displayName": "Windows CI Build",
"description": "This preset is used by the CI build on windows",
"configuration": "RelWithDebInfo",
@ -82,8 +82,8 @@
}
},
{
"name": "ci-windows-latest",
"configurePreset": "ci-windows-latest",
"name": "ci-windows-2022",
"configurePreset": "ci-windows-2022",
"displayName": "CI Tests on windows",
"description": "Runs all tests on a windows configuration",
"configuration": "RelWithDebInfo",