mirror of
https://github.com/microsoft/GSL.git
synced 2025-01-18 17:55:01 -05:00
c832885f15
Some checks failed
CI_Android / Android (push) Has been cancelled
cmake_find_package / Build ${{ matrix.os }} (macos-latest) (push) Has been cancelled
cmake_find_package / Build ${{ matrix.os }} (ubuntu-latest) (push) Has been cancelled
Compiler Integration Tests / gcc (Debug, 14, 12) (push) Has been cancelled
Compiler Integration Tests / gcc (Debug, 14, 13) (push) Has been cancelled
Compiler Integration Tests / gcc (Debug, 14, 14) (push) Has been cancelled
Compiler Integration Tests / gcc (Debug, 17, 12) (push) Has been cancelled
Compiler Integration Tests / gcc (Debug, 17, 13) (push) Has been cancelled
Compiler Integration Tests / gcc (Debug, 17, 14) (push) Has been cancelled
Compiler Integration Tests / gcc (Debug, 20, 13) (push) Has been cancelled
Compiler Integration Tests / gcc (Debug, 20, 14) (push) Has been cancelled
Compiler Integration Tests / gcc (Debug, 23, 13) (push) Has been cancelled
Compiler Integration Tests / gcc (Debug, 23, 14) (push) Has been cancelled
Compiler Integration Tests / gcc (Release, 14, 12) (push) Has been cancelled
Compiler Integration Tests / gcc (Release, 14, 13) (push) Has been cancelled
Compiler Integration Tests / gcc (Release, 14, 14) (push) Has been cancelled
Compiler Integration Tests / gcc (Release, 17, 12) (push) Has been cancelled
Compiler Integration Tests / gcc (Release, 17, 13) (push) Has been cancelled
Compiler Integration Tests / gcc (Release, 17, 14) (push) Has been cancelled
Compiler Integration Tests / gcc (Release, 20, 13) (push) Has been cancelled
Compiler Integration Tests / gcc (Release, 20, 14) (push) Has been cancelled
Compiler Integration Tests / gcc (Release, 23, 13) (push) Has been cancelled
Compiler Integration Tests / gcc (Release, 23, 14) (push) Has been cancelled
Compiler Integration Tests / clang (Debug, 16, 14) (push) Has been cancelled
Compiler Integration Tests / clang (Debug, 16, 17) (push) Has been cancelled
Compiler Integration Tests / clang (Debug, 16, 20) (push) Has been cancelled
Compiler Integration Tests / clang (Debug, 16, 23) (push) Has been cancelled
Compiler Integration Tests / clang (Debug, 17, 14) (push) Has been cancelled
Compiler Integration Tests / clang (Debug, 17, 17) (push) Has been cancelled
Compiler Integration Tests / clang (Debug, 17, 20) (push) Has been cancelled
Compiler Integration Tests / clang (Debug, 18, 14) (push) Has been cancelled
Compiler Integration Tests / clang (Debug, 18, 17) (push) Has been cancelled
Compiler Integration Tests / clang (Debug, 18, 20) (push) Has been cancelled
Compiler Integration Tests / clang (Debug, 18, 23) (push) Has been cancelled
Compiler Integration Tests / clang (Release, 16, 14) (push) Has been cancelled
Compiler Integration Tests / clang (Release, 16, 17) (push) Has been cancelled
Compiler Integration Tests / clang (Release, 16, 20) (push) Has been cancelled
Compiler Integration Tests / clang (Release, 16, 23) (push) Has been cancelled
Compiler Integration Tests / clang (Release, 17, 14) (push) Has been cancelled
Compiler Integration Tests / clang (Release, 17, 17) (push) Has been cancelled
Compiler Integration Tests / clang (Release, 17, 20) (push) Has been cancelled
Compiler Integration Tests / clang (Release, 18, 14) (push) Has been cancelled
Compiler Integration Tests / clang (Release, 18, 17) (push) Has been cancelled
Compiler Integration Tests / clang (Release, 18, 20) (push) Has been cancelled
Compiler Integration Tests / clang (Release, 18, 23) (push) Has been cancelled
Compiler Integration Tests / xcode (Debug, 14, 15.4) (push) Has been cancelled
Compiler Integration Tests / xcode (Debug, 17, 15.4) (push) Has been cancelled
Compiler Integration Tests / xcode (Debug, 20, 15.4) (push) Has been cancelled
Compiler Integration Tests / xcode (Debug, 23, 15.4) (push) Has been cancelled
Compiler Integration Tests / xcode (Release, 14, 15.4) (push) Has been cancelled
Compiler Integration Tests / xcode (Release, 17, 15.4) (push) Has been cancelled
Compiler Integration Tests / xcode (Release, 20, 15.4) (push) Has been cancelled
Compiler Integration Tests / xcode (Release, 23, 15.4) (push) Has been cancelled
Compiler Integration Tests / VisualStudio (Debug, 14, , Visual Studio 16 2019, windows-2019) (push) Has been cancelled
Compiler Integration Tests / VisualStudio (Debug, 14, , Visual Studio 17 2022, windows-2022) (push) Has been cancelled
Compiler Integration Tests / VisualStudio (Debug, 14, -T ClangCL, Visual Studio 16 2019, windows-2019) (push) Has been cancelled
Compiler Integration Tests / VisualStudio (Debug, 14, -T ClangCL, Visual Studio 17 2022, windows-2022) (push) Has been cancelled
Compiler Integration Tests / VisualStudio (Debug, 17, , Visual Studio 16 2019, windows-2019) (push) Has been cancelled
Compiler Integration Tests / VisualStudio (Debug, 17, , Visual Studio 17 2022, windows-2022) (push) Has been cancelled
Compiler Integration Tests / VisualStudio (Debug, 17, -T ClangCL, Visual Studio 16 2019, windows-2019) (push) Has been cancelled
Compiler Integration Tests / VisualStudio (Debug, 17, -T ClangCL, Visual Studio 17 2022, windows-2022) (push) Has been cancelled
Compiler Integration Tests / VisualStudio (Debug, 20, , Visual Studio 16 2019, windows-2019) (push) Has been cancelled
Compiler Integration Tests / VisualStudio (Debug, 20, , Visual Studio 17 2022, windows-2022) (push) Has been cancelled
Compiler Integration Tests / VisualStudio (Debug, 20, -T ClangCL, Visual Studio 16 2019, windows-2019) (push) Has been cancelled
Compiler Integration Tests / VisualStudio (Debug, 20, -T ClangCL, Visual Studio 17 2022, windows-2022) (push) Has been cancelled
Compiler Integration Tests / VisualStudio (Debug, 23, , Visual Studio 17 2022, windows-2022) (push) Has been cancelled
Compiler Integration Tests / VisualStudio (Debug, 23, -T ClangCL, Visual Studio 17 2022, windows-2022) (push) Has been cancelled
Compiler Integration Tests / VisualStudio (Release, 14, , Visual Studio 16 2019, windows-2019) (push) Has been cancelled
Compiler Integration Tests / VisualStudio (Release, 14, , Visual Studio 17 2022, windows-2022) (push) Has been cancelled
Compiler Integration Tests / VisualStudio (Release, 14, -T ClangCL, Visual Studio 16 2019, windows-2019) (push) Has been cancelled
Compiler Integration Tests / VisualStudio (Release, 14, -T ClangCL, Visual Studio 17 2022, windows-2022) (push) Has been cancelled
Compiler Integration Tests / VisualStudio (Release, 17, , Visual Studio 16 2019, windows-2019) (push) Has been cancelled
Compiler Integration Tests / VisualStudio (Release, 17, , Visual Studio 17 2022, windows-2022) (push) Has been cancelled
Compiler Integration Tests / VisualStudio (Release, 17, -T ClangCL, Visual Studio 16 2019, windows-2019) (push) Has been cancelled
Compiler Integration Tests / VisualStudio (Release, 17, -T ClangCL, Visual Studio 17 2022, windows-2022) (push) Has been cancelled
Compiler Integration Tests / VisualStudio (Release, 20, , Visual Studio 16 2019, windows-2019) (push) Has been cancelled
Compiler Integration Tests / VisualStudio (Release, 20, , Visual Studio 17 2022, windows-2022) (push) Has been cancelled
Compiler Integration Tests / VisualStudio (Release, 20, -T ClangCL, Visual Studio 16 2019, windows-2019) (push) Has been cancelled
Compiler Integration Tests / VisualStudio (Release, 20, -T ClangCL, Visual Studio 17 2022, windows-2022) (push) Has been cancelled
Compiler Integration Tests / VisualStudio (Release, 23, , Visual Studio 17 2022, windows-2022) (push) Has been cancelled
Compiler Integration Tests / VisualStudio (Release, 23, -T ClangCL, Visual Studio 17 2022, windows-2022) (push) Has been cancelled
CI_iOS / iOS (push) Has been cancelled
* React to ubuntu-latest changing to 24.04 Reacting to https://github.com/actions/runner-images/issues/10636 * update clang to 16,17,18 * update gcc to 12,13,14
116 lines
3.5 KiB
YAML
116 lines
3.5 KiB
YAML
name: Compiler Integration Tests
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
# These jobs are correlated with the officially supported compilers
|
|
# and toolsets. If you change any versions, please update README.md.
|
|
|
|
jobs:
|
|
gcc:
|
|
strategy:
|
|
matrix:
|
|
gcc_version: [ 12, 13, 14 ]
|
|
build_type: [ Debug, Release ]
|
|
cxx_version: [ 14, 17, 20, 23 ]
|
|
exclude:
|
|
# https://github.com/google/googletest/issues/4232
|
|
# Looks like GoogleTest is not interested in making version 1.14
|
|
# work with gcc-12.
|
|
- gcc_version: 12
|
|
cxx_version: 20
|
|
- gcc_version: 12
|
|
cxx_version: 23
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Run CMake (configure, build, test)
|
|
uses: ./.github/workflows/cmake
|
|
with:
|
|
cmake_build_type: ${{ matrix.build_type }}
|
|
cmake_cxx_compiler: g++-${{ matrix.gcc_version }}
|
|
gsl_cxx_standard: ${{ matrix.cxx_version }}
|
|
|
|
clang:
|
|
strategy:
|
|
matrix:
|
|
clang_version: [ 16, 17, 18 ]
|
|
build_type: [ Debug, Release ]
|
|
cxx_version: [ 14, 17, 20, 23 ]
|
|
exclude:
|
|
# https://github.com/llvm/llvm-project/issues/93734
|
|
# Looks like clang fixed this issue in clang-18, but won't backport
|
|
# the fix.
|
|
- clang_version: 17
|
|
cxx_version: 23
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Run CMake (configure, build, test)
|
|
uses: ./.github/workflows/cmake
|
|
with:
|
|
cmake_build_type: ${{ matrix.build_type }}
|
|
cmake_cxx_compiler: clang++-${{ matrix.clang_version }}
|
|
gsl_cxx_standard: ${{ matrix.cxx_version }}
|
|
|
|
xcode:
|
|
strategy:
|
|
matrix:
|
|
xcode_version: [ '15.4' ]
|
|
build_type: [ Debug, Release ]
|
|
cxx_version: [ 14, 17, 20, 23 ]
|
|
runs-on: macos-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: select xcode version
|
|
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode_version }}.app
|
|
|
|
- name: Run CMake (configure, build, test)
|
|
uses: ./.github/workflows/cmake
|
|
with:
|
|
cmake_build_type: ${{ matrix.build_type }}
|
|
cmake_cxx_compiler: clang++
|
|
gsl_cxx_standard: ${{ matrix.cxx_version }}
|
|
|
|
VisualStudio:
|
|
strategy:
|
|
matrix:
|
|
generator: [ 'Visual Studio 16 2019', 'Visual Studio 17 2022' ]
|
|
image: [ windows-2019, windows-2022 ]
|
|
build_type: [ Debug, Release ]
|
|
extra_args: [ '', '-T ClangCL' ]
|
|
cxx_version: [ 14, 17, 20, 23 ]
|
|
exclude:
|
|
- generator: 'Visual Studio 17 2022'
|
|
image: windows-2019
|
|
- generator: 'Visual Studio 16 2019'
|
|
image: windows-2022
|
|
- generator: 'Visual Studio 16 2019'
|
|
cxx_version: 23
|
|
runs-on: ${{ matrix.image }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: microsoft/setup-msbuild@v2
|
|
|
|
- name: Run CMake (configure, build, test)
|
|
uses: ./.github/workflows/cmake
|
|
with:
|
|
cmake_generator: ${{ matrix.generator }}
|
|
cmake_build_type: ${{ matrix.build_type }}
|
|
gsl_cxx_standard: ${{ matrix.cxx_version }}
|
|
extra_cmake_args: ${{ matrix.extra_args }}
|
|
build_cmd: msbuild GSL.sln
|
|
test_cmd: ctest . --output-on-failure --no-compress-output
|
|
shell: pwsh
|
|
|