Skip to content

Commit

Permalink
Test more C++ versions
Browse files Browse the repository at this point in the history
  • Loading branch information
thejohnfreeman committed May 6, 2024
1 parent 4d39bc8 commit 095ad09
Showing 1 changed file with 36 additions and 9 deletions.
45 changes: 36 additions & 9 deletions .github/workflows/cupcake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,38 +15,65 @@ jobs:
- ubuntu
compiler:
- gcc
id: [1,2,3,4,5]
- clang
id: [1,2,3,4,5,6,7,8]
include:
- id: 1
cmake: '3.29.0'
conan: 1
generator: Unix Makefiles
flavor: release
linkage: static
cppstd: 20
- id: 2
cmake: '3.21.0'
conan: 1
generator: Unix Makefiles
flavor: release
linkage: static
cppstd: 20
- id: 3
cmake: '3.29.0'
conan: 1
generator: Ninja
flavor: release
linkage: static
cppstd: 20
- id: 4
cmake: '3.29.0'
conan: 1
generator: Unix Makefiles
flavor: debug
linkage: static
cppstd: 20
- id: 5
cmake: '3.29.0'
conan: 1
generator: Unix Makefiles
flavor: release
linkage: shared
cppstd: 20
- id: 6
cmake: '3.29.0'
conan: 1
generator: Unix Makefiles
flavor: release
linkage: shared
cppstd: 17
- id: 7
cmake: '3.29.0'
conan: 1
generator: Unix Makefiles
flavor: release
linkage: shared
cppstd: 14
- id: 8
cmake: '3.29.0'
conan: 1
generator: Unix Makefiles
flavor: release
linkage: shared
cppstd: 11
- platform: ubuntu
runner: ubuntu-22.04
# - platform: macos
Expand All @@ -58,13 +85,13 @@ jobs:
version: 13
cc: /usr/bin/gcc-13
cxx: /usr/bin/g++-13
# - platform: ubuntu
# compiler: clang
# profile:
# compiler: clang
# version: 15
# cc: /usr/bin/clang-15
# cxx: /usr/bin/clang++-15
- platform: ubuntu
compiler: clang
profile:
compiler: clang
version: 15
cc: /usr/bin/clang-15
cxx: /usr/bin/clang++-15
# - platform: macos
# compiler: gcc
# profile:
Expand Down Expand Up @@ -115,7 +142,7 @@ jobs:
if: matrix.conan == 1
run: |
conan profile new default --detect
conan profile update settings.compiler.cppstd=20 default
conan profile update settings.compiler.cppstd=${{ matrix.cppstd }} default
conan profile update settings.compiler=${{ matrix.profile.compiler }} default
conan profile update settings.compiler.version=${{ matrix.profile.version }} default
conan profile update env.CC=${{ matrix.profile.cc }} default
Expand Down

0 comments on commit 095ad09

Please sign in to comment.