Skip to content

Commit

Permalink
Create two jobs for each C++ version (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
g-217 authored Oct 24, 2024
1 parent 3a0af64 commit 3bdf63c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 7 deletions.
30 changes: 24 additions & 6 deletions .github/matrix.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,46 @@
{
"config": [
{
"name": "Linux GCC 11",
"name": "Linux GCC 11 C++17",
"compiler": "gcc",
"version": "11",
"os": "ubuntu-22.04"
"os": "ubuntu-22.04",
"cxxstd" : "17"
},
{
"name": "Linux Clang 14",
"name": "Linux GCC 11 C++20",
"compiler": "gcc",
"version": "11",
"os": "ubuntu-22.04",
"cxxstd" : "20"
},
{
"name": "Linux Clang 14 C++17",
"compiler": "clang",
"version": "14",
"os": "ubuntu-22.04",
"cxxstd" : "17"
},
{
"name": "Linux Clang 14 C++20",
"compiler": "clang",
"version": "14",
"os": "ubuntu-22.04"
"os": "ubuntu-22.04",
"cxxstd" : "20"
},
{
"name": "macOS apple-clang 14.3.1",
"compiler": "apple-clang",
"version": "14.3.1",
"os": "macos-13"
"os": "macos-13",
"cxxstd" : "17"
},
{
"name": "Windows VS2022",
"compiler": "Visual Studio",
"version": "17.4",
"os": "windows-2022"
"os": "windows-2022",
"cxxstd" : "17"
}
]
}
2 changes: 1 addition & 1 deletion .github/workflows/adobe_source_libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
shell: bash
run: |
mkdir ../build
cmake -S. -B../build -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=20
cmake -S. -B../build -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=${{matrix.config.cxxstd}}
- name: Configure (MacOS)
if: ${{ startsWith(matrix.config.os, 'macos') }}
Expand Down

0 comments on commit 3bdf63c

Please sign in to comment.