Browse Source

Update CI.

Jeremie Dumas 4 years ago
parent
commit
dcff572e35
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .github/workflows/continuous.yml

+ 2 - 2
.github/workflows/continuous.yml

@@ -97,7 +97,7 @@ jobs:
 
 
   Windows:
   Windows:
     name: Windows (${{ matrix.config }}, ${{ fromJSON('["HeaderOnly", "Static"]')[matrix.static == 'ON'] }})
     name: Windows (${{ matrix.config }}, ${{ fromJSON('["HeaderOnly", "Static"]')[matrix.static == 'ON'] }})
-    runs-on: windows-2019
+    runs-on: windows-2022
     env:
     env:
       CC: cl.exe
       CC: cl.exe
       CXX: cl.exe
       CXX: cl.exe
@@ -143,7 +143,7 @@ jobs:
       - name: Configure and build
       - name: Configure and build
         shell: cmd
         shell: cmd
         run: |
         run: |
-          call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=x64
+          call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=x64
           cmake -G Ninja ^
           cmake -G Ninja ^
             -DCMAKE_CXX_COMPILER_LAUNCHER=sccache ^
             -DCMAKE_CXX_COMPILER_LAUNCHER=sccache ^
             -DCMAKE_BUILD_TYPE=${{ matrix.config }} ^
             -DCMAKE_BUILD_TYPE=${{ matrix.config }} ^