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 shell: bash
- name: Build - name: Build
if: "${{ !inputs.cmake_configure_only }}" if: ${{inputs.cmake_configure_only == false}}
working-directory: build working-directory: build
run: make run: make
shell: bash shell: bash
- name: Test - name: Test
if: "${{ !inputs.cmake_configure_only }}" if: ${{inputs.cmake_configure_only == false}}
working-directory: build working-directory: build
run: make test run: make test
shell: bash shell: bash

View File

@ -11,16 +11,14 @@ on:
branches: [ main ] branches: [ main ]
# TODO (@carsonradtke) # TODO (@carsonradtke)
# - [ ] flesh out strategy.matrix
# - [ ] Update README with latest versions actively tested # - [ ] Update README with latest versions actively tested
# - [ ] Do not use '*-latest' for runs-on
jobs: jobs:
gcc: gcc:
strategy: strategy:
matrix: matrix:
cxx_version: [ 17 ] # 14, 17, 20 cxx_version: [ 14, 17, 20 ]
build_type: [ 'Debug'] # 'Debug', 'Release' build_type: [ 'Debug', 'Release' ]
gcc_version: [ 12 ] # 12, 13, 14 gcc_version: [ 10, 11, 12 ]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -35,13 +33,13 @@ jobs:
clang: clang:
strategy: strategy:
matrix: matrix:
cxx_version: [ 17 ] # 14, 17, 20 cxx_version: [ 14, 17, 20 ]
build_type: [ 'Debug' ] # 'Debug', 'Release' build_type: [ 'Debug', 'Release' ]
clang_version: [ 16 ] # 16, 17, 18 clang_version: [ 13, 14, 15 ]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Run CMake (configure, build, test) - name: Run CMake (configure, build, test)
uses: ./.github/workflows/cmake uses: ./.github/workflows/cmake
with: with:
@ -52,9 +50,9 @@ jobs:
xcode: xcode:
strategy: strategy:
matrix: matrix:
cxx_version: [ 17 ] # 14, 17, 20 cxx_version: [ 14, 17, 20 ]
build_type: [ 'Debug' ] # 'Debug', 'Release' build_type: [ 'Debug', 'Release' ]
xcode_version: [ "15.4" ] # "14.3.1", "15.4" xcode_version: [ '14.3.1', '15.4' ]
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -72,10 +70,10 @@ jobs:
VisualStudio: VisualStudio:
strategy: strategy:
matrix: matrix:
cxx_version: [ 17 ] # 14, 17, 20 cxx_version: [ 14, 17, 20 ]
generator: [ "Visual Studio 17 2022" ] # "Visual Studio 16 2019", "Visual Studio 17 2022" generator: [ 'Visual Studio 17 2022' ]
build_type: [ 'Debug' ] # 'Debug', 'Release' build_type: [ 'Debug', 'Release' ]
extra_args: [ "", "-T ClangCL" ] extra_args: [ '', '-T ClangCL' ]
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4