use correct clang version

This commit is contained in:
Carson Radtke 2024-10-14 11:58:50 -05:00
parent 84671a6a8a
commit d520eb6006
2 changed files with 16 additions and 18 deletions

View File

@ -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

View File

@ -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,13 +33,13 @@ 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
- name: Run CMake (configure, build, test)
uses: ./.github/workflows/cmake
with:
@ -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