Skip to content

Commit 3d95c8e

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents b3a8fd5 + d001e34 commit 3d95c8e

File tree

227 files changed

+10707
-2543
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

227 files changed

+10707
-2543
lines changed

.clang-format

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ PenaltyBreakFirstLessLess: 120
3333
PenaltyExcessCharacter: 1
3434
PenaltyReturnTypeOnItsOwnLine: 1000
3535
PointerAlignment: Left
36+
QualifierAlignment: Right
37+
LineEnding: LF
3638
SpaceBeforeAssignmentOperators: true
3739
SpaceInEmptyParentheses: false
3840
SpacesBeforeTrailingComments: 1

.github/workflows/bsd.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: BSD
22

3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
37
on:
48
push:
59
branches:
@@ -77,7 +81,7 @@ jobs:
7781
- name: OpenBSD Build and Test (${{ matrix.build_type }})
7882
uses: vmactions/openbsd-vm@v1
7983
with:
80-
release: '7.5'
84+
release: '7.6'
8185
arch: 'x86_64'
8286
mem: 16384
8387
cpu: 4
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
name: Clang-Windows
2+
3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
7+
on:
8+
push:
9+
branches:
10+
- master
11+
paths-ignore:
12+
- '**.md'
13+
- 'docs/**'
14+
- 'scripts/**'
15+
16+
pull_request:
17+
branches:
18+
- master
19+
paths-ignore:
20+
- '**.md'
21+
- 'docs/**'
22+
- 'scripts/**'
23+
24+
jobs:
25+
clang_msvc:
26+
runs-on: windows-2022
27+
strategy:
28+
matrix:
29+
compiler: [ clang-cl ]
30+
build_type: [ Debug, Release ]
31+
std: [ 17 ]
32+
steps:
33+
- uses: actions/checkout@v4
34+
35+
- name: Install LLVM
36+
uses: KyleMayes/install-llvm-action@v2
37+
with:
38+
version: "19.1.7"
39+
40+
- name: Create Build Directory
41+
run: cmake -E make_directory ${{runner.workspace}}/build
42+
43+
- name: Configure with Clang
44+
shell: bash
45+
working-directory: ${{ github.workspace }}
46+
run: |
47+
# Set compiler paths based on matrix selection
48+
if [[ "${{ matrix.compiler }}" == "clang++" ]]; then
49+
C_COMPILER="clang"
50+
CXX_COMPILER="clang++"
51+
else
52+
C_COMPILER="clang-cl"
53+
CXX_COMPILER="clang-cl"
54+
fi
55+
56+
cmake -S . -B "${{ runner.workspace }}/build" -G "Ninja" \
57+
-DCMAKE_C_COMPILER="$C_COMPILER" \
58+
-DCMAKE_CXX_COMPILER="$CXX_COMPILER" \
59+
-DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
60+
-DCMAKE_CXX_STANDARD=${{matrix.std}} \
61+
-DQUILL_BUILD_TESTS=ON \
62+
-DQUILL_BUILD_EXAMPLES=ON \
63+
-DQUILL_VERBOSE_MAKEFILE=ON
64+
65+
- name: Build
66+
working-directory: ${{runner.workspace}}/build
67+
run: |
68+
$threads = (Get-CimInstance Win32_ComputerSystem).NumberOfLogicalProcessors
69+
cmake --build . --config ${{matrix.build_type}} --parallel $threads
70+
71+
- name: Test
72+
working-directory: ${{runner.workspace}}/build
73+
run: |
74+
ctest --build-config ${{matrix.build_type}} --output-on-failure

.github/workflows/coverage.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Coverage
22

3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
37
on:
48
push:
59
branches:
@@ -28,7 +32,7 @@ jobs:
2832
ctest --build-config Debug
2933
3034
- name: Upload coverage to Codecov
31-
uses: codecov/codecov-action@v4
35+
uses: codecov/codecov-action@v5
3236
with:
3337
token: ${{ secrets.CODECOV_TOKEN }}
3438
verbose: true

.github/workflows/fedora.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Fedora
22

3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
37
on:
48
push:
59
branches:

.github/workflows/gcc15.yml

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: gcc15
2+
3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
7+
on:
8+
push:
9+
branches:
10+
- master
11+
paths-ignore:
12+
- '**.md'
13+
- 'docs/**'
14+
- 'scripts/**'
15+
pull_request:
16+
branches:
17+
- master
18+
paths-ignore:
19+
- '**.md'
20+
- 'docs/**'
21+
- 'scripts/**'
22+
23+
jobs:
24+
build:
25+
runs-on: ubuntu-latest
26+
container:
27+
image: gcc:15.1
28+
strategy:
29+
fail-fast: false
30+
matrix:
31+
cxx: [ g++ ]
32+
build_type: [ Debug, Release ]
33+
std: [ 23 ]
34+
with_tests: [ ON ]
35+
36+
include:
37+
- cxx: g++
38+
install: |
39+
apt-get update
40+
apt-get install -y cmake make
41+
42+
steps:
43+
- uses: actions/checkout@v4
44+
45+
- name: Install dependencies and create build environment
46+
run: |
47+
${{ matrix.install }}
48+
mkdir -p ${{runner.workspace}}/build
49+
ls -l ${{runner.workspace}}
50+
51+
- name: Configure
52+
env:
53+
CXX: ${{matrix.cxx}}
54+
CXXFLAGS: ${{matrix.cxxflags}}
55+
run: |
56+
cd ${{runner.workspace}}/build
57+
cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} ${{matrix.cmake_options}} \
58+
-DCMAKE_CXX_STANDARD=${{matrix.std}} -DQUILL_BUILD_TESTS=${{matrix.with_tests}} \
59+
-DQUILL_BUILD_EXAMPLES=ON -DQUILL_VERBOSE_MAKEFILE=ON $GITHUB_WORKSPACE
60+
61+
- name: Build
62+
run: |
63+
cd ${{runner.workspace}}/build
64+
cmake --build . --config ${{ matrix.build_type }} --parallel $(nproc)
65+
66+
- name: Test
67+
run: |
68+
cd ${{runner.workspace}}/build
69+
ctest --build-config ${{ matrix.build_type }} ${{ matrix.ctest_options }} --parallel $(nproc) --output-on-failure
70+
env:
71+
CTEST_OUTPUT_ON_FAILURE: True

.github/workflows/macos.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: macOS
22

3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
37
on:
48
push:
59
branches:

.github/workflows/ubuntu.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Ubuntu
22

3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
37
on:
48
push:
59
branches:
@@ -53,7 +57,23 @@ jobs:
5357
os: ubuntu-22.04
5458
with_tests: ON
5559
install: sudo apt -o Acquire::Retries=5 install g++-13
56-
60+
61+
- cxx: g++-14
62+
build_type: Release
63+
std: 23
64+
os: ubuntu-24.04
65+
with_tests: ON
66+
cmake_options: -DQUILL_ENABLE_GCC_HARDENING=ON
67+
install: sudo apt -o Acquire::Retries=5 install g++-14
68+
69+
- cxx: g++-14
70+
build_type: Debug
71+
std: 23
72+
os: ubuntu-24.04
73+
with_tests: ON
74+
cmake_options: -DQUILL_ENABLE_GCC_HARDENING=ON
75+
install: sudo apt -o Acquire::Retries=5 install g++-14
76+
5777
# Builds the examples with no exceptions
5878
- cxx: g++-10
5979
build_type: Release

.github/workflows/windows.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Windows
22

3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
37
on:
48
push:
59
branches:

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ sphinx:
1919
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
2020
python:
2121
install:
22-
- requirements: docs/requirements.txt
22+
- requirements: docs/requirements.txt

0 commit comments

Comments
 (0)