update matrix in README to correspond to tests

This commit is contained in:
Carson Radtke 2024-10-14 13:41:23 -05:00
parent d520eb6006
commit 785f7a140f
2 changed files with 13 additions and 19 deletions

View File

@ -10,8 +10,9 @@ on:
pull_request: pull_request:
branches: [ main ] branches: [ main ]
# TODO (@carsonradtke) # These jobs are correlated with the officially supported compilers
# - [ ] Update README with latest versions actively tested # and toolsets. If you change any versions, please update README.md.
jobs: jobs:
gcc: gcc:
strategy: strategy:
@ -71,7 +72,7 @@ jobs:
strategy: strategy:
matrix: matrix:
cxx_version: [ 14, 17, 20 ] cxx_version: [ 14, 17, 20 ]
generator: [ 'Visual Studio 17 2022' ] generator: [ 'Visual Studio 16 2019', 'Visual Studio 17 2022' ]
build_type: [ 'Debug', 'Release' ] build_type: [ 'Debug', 'Release' ]
extra_args: [ '', '-T ClangCL' ] extra_args: [ '', '-T ClangCL' ]
runs-on: windows-latest runs-on: windows-latest
@ -87,7 +88,7 @@ jobs:
gsl_cxx_standard: ${{ matrix.cxx_version }} gsl_cxx_standard: ${{ matrix.cxx_version }}
extra_cmake_args: ${{ matrix.extra_args }} extra_cmake_args: ${{ matrix.extra_args }}
- uses: microsoft/setup-msbuild@v1 - uses: microsoft/setup-msbuild@v2
- name: build - name: build
working-directory: build working-directory: build

View File

@ -86,24 +86,17 @@ This is based on [CppCoreGuidelines semi-specification](https://github.com/isocp
# Quick Start # Quick Start
## Supported Compilers / Toolsets ## Supported Compilers / Toolsets
The GSL officially supports the latest and previous major versions of VS with MSVC & LLVM, GCC, Clang, and XCode with Apple-Clang. The GSL officially support recent major versions of Visual Studio with both MSVC and LLVM, GCC, Clang, and XCode with Apple-Clang.
Within these two major versions, we try to target the latest minor updates / revisions (although this may be affected by For each of these major versions, the GSL officially supports C++14, C++17, and C++20.
delays between a toolchain's release and when it becomes widely available for use). Below is a table showing the versions currently being tested (also see [.github/workflows/compilers.yml](the workflow).)
Below is a table showing the versions currently being tested.
Compiler |Toolset Versions Currently Tested Compiler |Toolset Versions Currently Tested
:------- |--: :------- |--:
XCode | 13.2.1 & 12.5.1 GCC | 10, 11, 12
GCC | 11[^1] & 10[^2] XCode | 14.3.1, 15.4
Clang | 12[^2] & 11[^2] Clang | 13, 14, 15
Visual Studio with MSVC | VS2022[^3] & VS2019[^4] Visual Studio with MSVC | VS2019, VS2022
Visual Studio with LLVM | VS2022[^3] & VS2019[^4] Visual Studio with LLVM | VS2019, VS2022
[^1]: Precise version may be found in the [latest CI results](https://dev.azure.com/cppstat/GSL/_build?definitionId=1&branchFilter=26).
[^2]: Precise version may be found in the [latest CI results](https://dev.azure.com/cppstat/GSL/_build?definitionId=1&branchFilter=26). Should be the version specified [here](https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-Readme.md#language-and-runtime).
[^3]: Precise version may be found in the [latest CI results](https://dev.azure.com/cppstat/GSL/_build?definitionId=1&branchFilter=26). Should be the version specified [here](https://github.com/actions/virtual-environments/blob/main/images/win/Windows2022-Readme.md#visual-studio-enterprise-2022).
[^4]: Precise version may be found in the [latest CI results](https://dev.azure.com/cppstat/GSL/_build?definitionId=1&branchFilter=26). Should be the version specified [here](https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md#visual-studio-enterprise-2019).
--- ---
If you successfully port GSL to another platform, we would love to hear from you! If you successfully port GSL to another platform, we would love to hear from you!