Add support for VS 2022 to the GitHub Actions workflow

This commit is contained in:
Lukas Dürrenberger 2022-01-18 19:40:29 +01:00
parent 8838030d67
commit fe3a7fc21e

View File

@ -11,8 +11,9 @@ jobs:
fail-fast: false
matrix:
platform:
- { name: Windows VS2017, os: windows-2016 }
- { name: Windows VS2019, os: windows-latest }
- { name: Windows VS2017, os: windows-2016 }
- { name: Windows VS2019, os: windows-2019 }
- { name: Windows VS2022, os: windows-2022 }
- { name: Linux GCC, os: ubuntu-latest }
- { name: Linux Clang, os: ubuntu-latest, flags: -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ }
- { name: MacOS XCode, os: macos-latest }
@ -21,7 +22,7 @@ jobs:
- { name: Static, flags: -DBUILD_SHARED_LIBS=FALSE }
include:
- platform: { name: Windows VS2019, os: windows-latest }
- platform: { name: Windows VS2022, os: windows-2022 }
config: { name: Unity, flags: -DBUILD_SHARED_LIBS=TRUE -DCMAKE_UNITY_BUILD=ON }
- platform: { name: MacOS XCode, os: macos-latest }
config: { name: Frameworks, flags: -DSFML_BUILD_FRAMEWORKS=TRUE }