Skip to content

Configure, build, and test with MSVC 17.10 #1

Configure, build, and test with MSVC 17.10

Configure, build, and test with MSVC 17.10 #1

Workflow file for this run

# SPDX short identifier: BSL-1.0
name: msvc17
on: push
jobs:
job:
name: MSVC 17.10
runs-on: windows-2022
steps:
- name: Install MSVC 17.10
shell: pwsh
run: |
$vspath = 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise'
Test-Path -Path $vspath | Should -Be $true
$vsinstaller = 'C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe'
Test-Path -Path $vsinstaller | Should -Be $true
Start-Process -NoNewWindow -Wait -FilePath $vsinstaller -ArgumentList `
'modify', '--installPath', "`"$vspath`"", '--quiet', '--norestart', '--nocache', '--noUpdateInstaller', `
'--add', 'Microsoft.VisualStudio.Component.VC.14.40.17.10.x86.x64'
- uses: lukka/get-cmake@latest
with:
cmakeVersion: "~3.27.0"
useCloudCache: true
- uses: actions/checkout@v4
- name: CMake configure-build-test
uses: lukka/run-cmake@v10
with:

Check failure on line 33 in .github/workflows/msvc17.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/msvc17.yml

Invalid workflow file

You have an error in your yaml syntax on line 33
configurePreset: "cml-ci-msvc17-mt-s",
configurePresetAdditionalArgs: "['-T version=14.40']"
buildPreset: "cml-ci-msvc17-mt-s-release",
testPreset: "cml-ci-msvc17-mt-s-release-test"