File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,31 +79,39 @@ jobs:
7979 fail-fast : false
8080
8181 matrix :
82- os : [ubuntu-22.04, ubuntu-24.04]
82+ gcc :
83+ - version : 11
84+ os : ubuntu-22.04
85+ - version : 13
86+ os : ubuntu-24.04
87+ - version : 15
88+ os : ubuntu-24.04
8389 cppstd : ['17', '20', '23']
8490 build-type : [Debug, Release]
8591 include :
86- - os : ubuntu-22.04
87- gcc-version : 11
88- - os : ubuntu-24.04
89- gcc-version : 13
9092 - build-type : Debug
9193 cmake-preset : conan-debug
9294 - build-type : Release
9395 cmake-preset : conan-release
9496
95- name : GCC ${{ matrix.gcc- version }} - C++${{ matrix.cppstd }} - ${{ matrix.build-type }}
97+ name : GCC ${{ matrix.gcc. version }} - C++${{ matrix.cppstd }} - ${{ matrix.build-type }}
9698
97- runs-on : ${{ matrix.os }}
99+ runs-on : ${{ matrix.gcc. os }}
98100
99101 steps :
100102 - uses : actions/checkout@v4
101103
104+ - name : Setup GCC
105+ if : matrix.gcc.version == 15
106+ uses : egor-tensin/setup-gcc@v2
107+ with :
108+ version : ${{ matrix.gcc.version }}
109+
102110 - name : Check GCC Version
103111 shell : bash
104112 run : |
105113 gcc -dumpversion
106- (( $(gcc -dumpversion | cut -d. -f1) == ${{ matrix.gcc- version }} ))
114+ (( $(gcc -dumpversion | cut -d. -f1) == ${{ matrix.gcc. version }} ))
107115
108116 - name : Install Conan
109117 uses : turtlebrowser/get-conan@main
You can’t perform that action at this time.
0 commit comments