Skip to content

Commit 351bbbc

Browse files
Merge pull request #801 from laurynas-biveinis/gcc-14-build.yml
Bump GCC version in build.yml to 14
2 parents 948c3a8 + 8160e7c commit 351bbbc

2 files changed

Lines changed: 78 additions & 13 deletions

File tree

.github/workflows/build.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,66 +36,66 @@ jobs:
3636
fail-fast: false
3737
matrix:
3838
include:
39-
- name: GCC 13 Release
39+
- name: GCC 14 Release
4040
os: ubuntu-latest
4141
BUILD_TYPE: Release
4242
COMPILER: gcc
4343

44-
- name: GCC 13 Release with ASan
44+
- name: GCC 14 Release with ASan
4545
os: ubuntu-latest
4646
BUILD_TYPE: Release
4747
COMPILER: gcc
4848
SANITIZE_ADDRESS: ON
4949

50-
- name: GCC 13 Release with TSan
50+
- name: GCC 14 Release with TSan
5151
os: ubuntu-latest
5252
BUILD_TYPE: Release
5353
COMPILER: gcc
5454
SANITIZE_THREAD: ON
5555

56-
- name: GCC 13 Release with UBSan
56+
- name: GCC 14 Release with UBSan
5757
os: ubuntu-latest
5858
BUILD_TYPE: Release
5959
COMPILER: gcc
6060
SANITIZE_UB: ON
6161

62-
- name: GCC 13 Debug
62+
- name: GCC 14 Debug
6363
os: ubuntu-latest
6464
BUILD_TYPE: Debug
6565
COMPILER: gcc
6666

67-
- name: GCC 13 Debug with ASan
67+
- name: GCC 14 Debug with ASan
6868
os: ubuntu-latest
6969
BUILD_TYPE: Debug
7070
COMPILER: gcc
7171
SANITIZE_ADDRESS: ON
7272

73-
- name: GCC 13 Debug with TSan
73+
- name: GCC 14 Debug with TSan
7474
os: ubuntu-latest
7575
BUILD_TYPE: Debug
7676
COMPILER: gcc
7777
SANITIZE_THREAD: ON
7878

79-
- name: GCC 13 Debug with UBSan
79+
- name: GCC 14 Debug with UBSan
8080
os: ubuntu-latest
8181
BUILD_TYPE: Debug
8282
COMPILER: gcc
8383
SANITIZE_UB: ON
8484

85-
- name: GCC 13 Debug without AVX2
85+
- name: GCC 14 Debug without AVX2
8686
os: ubuntu-latest
8787
BUILD_TYPE: Debug
8888
COMPILER: gcc
8989
AVX2: OFF
9090

91-
- name: GCC 13 Release static analysis & cpplint
91+
- name: GCC 14 Release static analysis & cpplint
9292
os: ubuntu-latest
9393
BUILD_TYPE: Release
9494
COMPILER: gcc
9595
STATIC_ANALYSIS: ON
9696
CPPLINT: ON
9797

98-
- name: GCC 13 default CMake configuration
98+
- name: GCC 14 default CMake configuration
9999
os: ubuntu-latest
100100
COMPILER: gcc
101101

@@ -285,7 +285,7 @@ jobs:
285285

286286
- name: Setup dependencies for GCC
287287
run: |
288-
sudo apt-get install -y g++-13 g++-13-multilib
288+
sudo apt-get install -y g++-14 g++-14-multilib
289289
if: runner.os == 'Linux' && env.COMPILER == 'gcc'
290290

291291
- name: Setup dependencies for Linux LLVM (common)
@@ -343,7 +343,7 @@ jobs:
343343
CBT=""
344344
fi
345345
if [[ $COMPILER == "gcc" ]]; then
346-
V=13
346+
V=14
347347
EXTRA_CMAKE_ARGS=()
348348
export CC=gcc-$V
349349
export CXX=g++-$V

.github/workflows/old-compilers.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,64 @@ jobs:
627627
VERSION: 12
628628
STATS: OFF
629629

630+
- name: GCC 13 Release
631+
BUILD_TYPE: Release
632+
COMPILER: gcc
633+
VERSION: 13
634+
STATS: OFF
635+
BOOST: OFF
636+
637+
- name: GCC 13 Release with ASan
638+
BUILD_TYPE: Release
639+
SANITIZE_ADDRESS: ON
640+
COMPILER: gcc
641+
VERSION: 13
642+
STATS: OFF
643+
644+
- name: GCC 13 Release with TSan
645+
BUILD_TYPE: Release
646+
SANITIZE_THREAD: ON
647+
COMPILER: gcc
648+
VERSION: 13
649+
STATS: OFF
650+
BOOST: OFF
651+
652+
- name: GCC 13 Release with UBSan
653+
BUILD_TYPE: Release
654+
SANITIZE_UB: ON
655+
COMPILER: gcc
656+
VERSION: 13
657+
STATS: OFF
658+
659+
- name: GCC 13 Debug
660+
BUILD_TYPE: Debug
661+
COMPILER: gcc
662+
VERSION: 13
663+
STATS: OFF
664+
BOOST: OFF
665+
666+
- name: GCC 13 Debug with ASan
667+
BUILD_TYPE: Debug
668+
SANITIZE_ADDRESS: ON
669+
COMPILER: gcc
670+
VERSION: 13
671+
STATS: OFF
672+
673+
- name: GCC 13 Debug with TSan
674+
BUILD_TYPE: Debug
675+
SANITIZE_THREAD: ON
676+
COMPILER: gcc
677+
VERSION: 13
678+
STATS: OFF
679+
BOOST: OFF
680+
681+
- name: GCC 13 Debug with UBSan
682+
BUILD_TYPE: Debug
683+
SANITIZE_UB: ON
684+
COMPILER: gcc
685+
VERSION: 13
686+
STATS: OFF
687+
630688
steps:
631689
- uses: actions/checkout@v5
632690
with:
@@ -669,6 +727,13 @@ jobs:
669727
sudo apt-get install -y gcc
670728
if: env.COMPILER == 'gcc' && env.VERSION == '11'
671729

730+
- name: Setup dependencies for GCC 13 (PPA)
731+
run: |
732+
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
733+
sudo apt-get update
734+
sudo apt-get install -y g++-13
735+
if: env.COMPILER == 'gcc' && env.VERSION == '13'
736+
672737
- name: Configure CMake
673738
# Use a bash shell so we can use the same syntax for environment
674739
# variable access regardless of the host operating system

0 commit comments

Comments
 (0)