ci: Don't run pointless builds

The support for Clang on Windows is almost non-existent compared to MSVC and GCC cross-compiling.
This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2022-07-31 01:41:53 +02:00
parent 553dc3db70
commit f66891f956

View file

@ -31,6 +31,10 @@ jobs:
generator: GCC generator: GCC
- runner: windows-2019 - runner: windows-2019
generator: GCC generator: GCC
- runner: windows-2022
generator: Clang
- runner: windows-2019
generator: Clang
- runner: ubuntu-22.04 - runner: ubuntu-22.04
generator: MSVC generator: MSVC
- runner: ubuntu-20.04 - runner: ubuntu-20.04
@ -64,24 +68,6 @@ jobs:
CMAKE_SYSTEM_VERSION: "10.0.19041.0" CMAKE_SYSTEM_VERSION: "10.0.19041.0"
CMAKE_GENERATOR: "Visual Studio 16 2019" CMAKE_GENERATOR: "Visual Studio 16 2019"
CMAKE_GENERATOR_PLATFORM: "x64" CMAKE_GENERATOR_PLATFORM: "x64"
- runner: windows-2022
generator: Clang
experimental: true
platform: "Windows 11"
PACKAGE_NAME: "windows-11-clang"
CMAKE_SYSTEM_VERSION: "10.0.22000.0"
CMAKE_GENERATOR: "Visual Studio 17 2022"
CMAKE_GENERATOR_PLATFORM: "x64"
CMAKE_GENERATOR_TOOLSET: "ClangCL"
- runner: windows-2019
generator: Clang
experimental: true
platform: "Windows 10"
PACKAGE_NAME: "windows-10-clang"
CMAKE_SYSTEM_VERSION: "10.0.19041.0"
CMAKE_GENERATOR: "Visual Studio 16 2019"
CMAKE_GENERATOR_PLATFORM: "x64"
CMAKE_GENERATOR_TOOLSET: "ClangCL"
- runner: ubuntu-22.04 - runner: ubuntu-22.04
generator: GCC generator: GCC
experimental: false experimental: false
@ -213,8 +199,7 @@ jobs:
build/temp/autodeps build/temp/autodeps
key: autodeps-${{ matrix.runner }}-${{ matrix.generator }}-${{ matrix.CMAKE_BUILD_TYPE }}-${{ env.CACHE_VERSION }} key: autodeps-${{ matrix.runner }}-${{ matrix.generator }}-${{ matrix.CMAKE_BUILD_TYPE }}-${{ env.CACHE_VERSION }}
- name: "Code Signing (Windows)" - name: "Code Signing (Windows)" # Do not run this on pull requests, ever!
# Do not run this on pull requests, ever!
if: (github.event_name != 'pull_request') && startsWith( matrix.runner, 'windows' ) if: (github.event_name != 'pull_request') && startsWith( matrix.runner, 'windows' )
id: codesign id: codesign
shell: bash shell: bash