Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 22 additions & 25 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,122 +37,122 @@ jobs:
matrix:
include:
- name: GCC 13 Release
os: ubuntu-22.04
os: ubuntu-latest
BUILD_TYPE: Release
COMPILER: gcc

- name: GCC 13 Release with ASan
os: ubuntu-22.04
os: ubuntu-latest
BUILD_TYPE: Release
COMPILER: gcc
SANITIZE_ADDRESS: ON

- name: GCC 13 Release with TSan
os: ubuntu-22.04
os: ubuntu-latest
BUILD_TYPE: Release
COMPILER: gcc
SANITIZE_THREAD: ON

- name: GCC 13 Release with UBSan
os: ubuntu-22.04
os: ubuntu-latest
BUILD_TYPE: Release
COMPILER: gcc
SANITIZE_UB: ON

- name: GCC 13 Debug
os: ubuntu-22.04
os: ubuntu-latest
BUILD_TYPE: Debug
COMPILER: gcc

- name: GCC 13 Debug with ASan
os: ubuntu-22.04
os: ubuntu-latest
BUILD_TYPE: Debug
COMPILER: gcc
SANITIZE_ADDRESS: ON

- name: GCC 13 Debug with TSan
os: ubuntu-22.04
os: ubuntu-latest
BUILD_TYPE: Debug
COMPILER: gcc
SANITIZE_THREAD: ON

- name: GCC 13 Debug with UBSan
os: ubuntu-22.04
os: ubuntu-latest
BUILD_TYPE: Debug
COMPILER: gcc
SANITIZE_UB: ON

- name: GCC 13 Debug without AVX2
os: ubuntu-22.04
os: ubuntu-latest
BUILD_TYPE: Debug
COMPILER: gcc
AVX2: OFF

- name: GCC 13 Release static analysis & cpplint
os: ubuntu-22.04
os: ubuntu-latest
BUILD_TYPE: Release
COMPILER: gcc
STATIC_ANALYSIS: ON
CPPLINT: ON

- name: GCC 13 default CMake configuration
os: ubuntu-22.04
os: ubuntu-latest
COMPILER: gcc

- name: clang 20 Release
os: ubuntu-22.04
os: ubuntu-latest
BUILD_TYPE: Release
COMPILER: clang

- name: clang 20 Release with ASan
os: ubuntu-22.04
os: ubuntu-latest
BUILD_TYPE: Release
SANITIZE_ADDRESS: ON
COMPILER: clang

- name: clang 20 Release with TSan
os: ubuntu-22.04
os: ubuntu-latest
BUILD_TYPE: Release
SANITIZE_THREAD: ON
COMPILER: clang

- name: clang 20 Release with UBSan
os: ubuntu-22.04
os: ubuntu-latest
BUILD_TYPE: Release
SANITIZE_UB: ON
COMPILER: clang

- name: clang 20 Debug
os: ubuntu-22.04
os: ubuntu-latest
BUILD_TYPE: Debug
COMPILER: clang

- name: clang 20 Debug with ASan
os: ubuntu-22.04
os: ubuntu-latest
BUILD_TYPE: Debug
SANITIZE_ADDRESS: ON
COMPILER: clang

- name: clang 20 Debug with TSan
os: ubuntu-22.04
os: ubuntu-latest
BUILD_TYPE: Debug
SANITIZE_THREAD: ON
COMPILER: clang

- name: clang 20 Debug with UBSan
os: ubuntu-22.04
os: ubuntu-latest
BUILD_TYPE: Debug
SANITIZE_UB: ON
COMPILER: clang

- name: clang 20 Release static analysis
os: ubuntu-22.04
os: ubuntu-latest
BUILD_TYPE: Release
COMPILER: clang
STATIC_ANALYSIS: ON

- name: clang 20 Debug static analysis
os: ubuntu-22.04
os: ubuntu-latest
BUILD_TYPE: Debug
COMPILER: clang
STATIC_ANALYSIS: ON
Expand Down Expand Up @@ -277,7 +277,6 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y libboost-dev libc6-dev-i386
sudo apt-get remove clang-tidy-11
if: runner.os == 'Linux'

- name: Setup dependencies for cpplint
Expand All @@ -286,8 +285,6 @@ jobs:

- name: Setup dependencies for GCC
run: |
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install -y g++-13 g++-13-multilib
if: runner.os == 'Linux' && env.COMPILER == 'gcc'

Expand All @@ -296,7 +293,7 @@ jobs:
curl 'https://apt.llvm.org/llvm-snapshot.gpg.key' \
| sudo apt-key add -
sudo add-apt-repository -y \
"deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-20 main"
"deb http://apt.llvm.org/noble/ llvm-toolchain-noble-20 main"
sudo apt-get update
sudo apt-get install -y clang-20 iwyu
if: runner.os == 'Linux' && env.COMPILER == 'clang'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions: {}
jobs:
analyze:
name: Analyze
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions: {}

jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

env:
BUILD_TYPE: ${{matrix.BUILD_TYPE}}
Expand All @@ -36,9 +36,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y libboost-dev libc6-dev-i386 libc6-dbg \
libgtest-dev libgmock-dev libbenchmark-dev
# Install a newer version than the one in APT
sudo snap install --classic valgrind
libgtest-dev libgmock-dev libbenchmark-dev valgrind

- name: Configure CMake
# Use a bash shell so we can use the same syntax for environment
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/feature-matrix-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions: {}

jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

env:
BUILD_TYPE: ${{matrix.BUILD_TYPE}}
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/valgrind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions: {}

jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

env:
BUILD_TYPE: ${{matrix.BUILD_TYPE}}
Expand All @@ -33,9 +33,7 @@ jobs:
- name: Setup dependencies
run: |
sudo apt-get update
sudo apt-get install -y libboost-dev libc6-dev-i386 libc6-dbg
# Install a newer version than the one in APT
sudo snap install --classic valgrind
sudo apt-get install -y libboost-dev libc6-dev-i386 libc6-dbg valgrind

- name: Configure CMake
# Use a bash shell so we can use the same syntax for environment
Expand Down
Loading