mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-25 01:01:58 -05:00
use correct clang version
This commit is contained in:
parent
84671a6a8a
commit
d520eb6006
4
.github/workflows/cmake/action.yml
vendored
4
.github/workflows/cmake/action.yml
vendored
@ -46,13 +46,13 @@ runs:
|
||||
shell: bash
|
||||
|
||||
- name: Build
|
||||
if: "${{ !inputs.cmake_configure_only }}"
|
||||
if: ${{inputs.cmake_configure_only == false}}
|
||||
working-directory: build
|
||||
run: make
|
||||
shell: bash
|
||||
|
||||
- name: Test
|
||||
if: "${{ !inputs.cmake_configure_only }}"
|
||||
if: ${{inputs.cmake_configure_only == false}}
|
||||
working-directory: build
|
||||
run: make test
|
||||
shell: bash
|
||||
|
28
.github/workflows/compilers.yml
vendored
28
.github/workflows/compilers.yml
vendored
@ -11,16 +11,14 @@ on:
|
||||
branches: [ main ]
|
||||
|
||||
# TODO (@carsonradtke)
|
||||
# - [ ] flesh out strategy.matrix
|
||||
# - [ ] Update README with latest versions actively tested
|
||||
# - [ ] Do not use '*-latest' for runs-on
|
||||
jobs:
|
||||
gcc:
|
||||
strategy:
|
||||
matrix:
|
||||
cxx_version: [ 17 ] # 14, 17, 20
|
||||
build_type: [ 'Debug'] # 'Debug', 'Release'
|
||||
gcc_version: [ 12 ] # 12, 13, 14
|
||||
cxx_version: [ 14, 17, 20 ]
|
||||
build_type: [ 'Debug', 'Release' ]
|
||||
gcc_version: [ 10, 11, 12 ]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@ -35,9 +33,9 @@ jobs:
|
||||
clang:
|
||||
strategy:
|
||||
matrix:
|
||||
cxx_version: [ 17 ] # 14, 17, 20
|
||||
build_type: [ 'Debug' ] # 'Debug', 'Release'
|
||||
clang_version: [ 16 ] # 16, 17, 18
|
||||
cxx_version: [ 14, 17, 20 ]
|
||||
build_type: [ 'Debug', 'Release' ]
|
||||
clang_version: [ 13, 14, 15 ]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@ -52,9 +50,9 @@ jobs:
|
||||
xcode:
|
||||
strategy:
|
||||
matrix:
|
||||
cxx_version: [ 17 ] # 14, 17, 20
|
||||
build_type: [ 'Debug' ] # 'Debug', 'Release'
|
||||
xcode_version: [ "15.4" ] # "14.3.1", "15.4"
|
||||
cxx_version: [ 14, 17, 20 ]
|
||||
build_type: [ 'Debug', 'Release' ]
|
||||
xcode_version: [ '14.3.1', '15.4' ]
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@ -72,10 +70,10 @@ jobs:
|
||||
VisualStudio:
|
||||
strategy:
|
||||
matrix:
|
||||
cxx_version: [ 17 ] # 14, 17, 20
|
||||
generator: [ "Visual Studio 17 2022" ] # "Visual Studio 16 2019", "Visual Studio 17 2022"
|
||||
build_type: [ 'Debug' ] # 'Debug', 'Release'
|
||||
extra_args: [ "", "-T ClangCL" ]
|
||||
cxx_version: [ 14, 17, 20 ]
|
||||
generator: [ 'Visual Studio 17 2022' ]
|
||||
build_type: [ 'Debug', 'Release' ]
|
||||
extra_args: [ '', '-T ClangCL' ]
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
Loading…
Reference in New Issue
Block a user