diff --git a/.github/workflows/cmake/action.yml b/.github/workflows/cmake/action.yml index bb84c63..122feb8 100644 --- a/.github/workflows/cmake/action.yml +++ b/.github/workflows/cmake/action.yml @@ -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 diff --git a/.github/workflows/compilers.yml b/.github/workflows/compilers.yml index 696a762..97cfa6a 100644 --- a/.github/workflows/compilers.yml +++ b/.github/workflows/compilers.yml @@ -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