]> git.sesse.net Git - stockfish/commitdiff
Add msys2 Clang x86_64 to GitHub Action matrix
authorppigazzini <pasquale.pigazzini@gmail.com>
Wed, 19 Jan 2022 15:56:38 +0000 (16:56 +0100)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Wed, 19 Jan 2022 18:21:10 +0000 (19:21 +0100)
Also use Windows Server 2022 virtual environment for msys2 builds.

closes https://github.com/official-stockfish/Stockfish/pull/3893

No functional change

.github/workflows/stockfish.yml

index 54b0cb1214ab286cc0c2393360513ddea1049910..33126a11e3510d09a8a50651d308c81dcb55b74b 100644 (file)
@@ -61,8 +61,8 @@ jobs:
               shell: 'bash {0}'
             }
           - {
-              name: "Windows 2019 Mingw-w64 GCC x86_64",
-              os: windows-2019,
+              name: "Windows 2022 Mingw-w64 GCC x86_64",
+              os: windows-2022,
               compiler: g++,
               comp: gcc,
               run_expensive_tests: false,
@@ -73,8 +73,8 @@ jobs:
               shell: 'msys2 {0}'
             }
           - {
-              name: "Windows 2019 Mingw-w64 GCC i686",
-              os: windows-2019,
+              name: "Windows 2022 Mingw-w64 GCC i686",
+              os: windows-2022,
               compiler: g++,
               comp: gcc,
               run_expensive_tests: false,
@@ -84,6 +84,18 @@ jobs:
               msys_env: 'i686',
               shell: 'msys2 {0}'
             }
+          - {
+              name: "Windows 2022 Mingw-w64 Clang x86_64",
+              os: windows-2022,
+              compiler: clang++,
+              comp: clang,
+              run_expensive_tests: false,
+              run_32bit_tests: false,
+              run_64bit_tests: true,
+              msys_sys: 'clang64',
+              msys_env: 'clang-x86_64',
+              shell: 'msys2 {0}'
+            }
 
     defaults:
       run:
@@ -105,7 +117,7 @@ jobs:
         uses: msys2/setup-msys2@v2
         with:
           msystem: ${{matrix.config.msys_sys}}
-          install: mingw-w64-${{matrix.config.msys_env}}-gcc make git expect
+          install: mingw-w64-${{matrix.config.msys_env}}-${{matrix.config.comp}} make git expect
 
       - name: Download the used network from the fishtest framework
         run: |