mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 14:21:04 +08:00
Add support for VS 2022 to the GitHub Actions workflow
This commit is contained in:
parent
7cdb728e52
commit
60deef9997
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -12,7 +12,8 @@ jobs:
|
||||
matrix:
|
||||
platform:
|
||||
- { name: Windows VS2017, os: windows-2016 }
|
||||
- { name: Windows VS2019, os: windows-latest }
|
||||
- { 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 }
|
||||
|
Loading…
Reference in New Issue
Block a user