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
2 changes: 1 addition & 1 deletion .github/workflows/bvt-clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ env:

jobs:
bvt-clang:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@v7

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bvt-codecoverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:

jobs:
bvt-codecoverage:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
container: gcc:16
steps:
- uses: actions/checkout@v7
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/bvt-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ on:
jobs:
bvt-compatibility:
name: ${{ matrix.compiler.family }}-${{ matrix.compiler.version }}
runs-on: ubuntu-24.04
runs-on: ${{ matrix.compiler.runner }}
strategy:
fail-fast: false
matrix:
compiler:
- {family: gcc, version: 13, modules: false, doc_tests: true}
- {family: gcc, version: 14, modules: false, doc_tests: true}
- {family: clang, version: 16, modules: false, doc_tests: false}
- {family: clang, version: 17, modules: false, doc_tests: true}
- {family: clang, version: 18, modules: false, doc_tests: true}
- {family: clang, version: 19, modules: false, doc_tests: true}
- {family: clang, version: 20, modules: true, doc_tests: true}
- {family: clang, version: 21, modules: true, doc_tests: true}
- {family: gcc, version: 13, modules: false, doc_tests: true, runner: ubuntu-26.04}
- {family: gcc, version: 14, modules: false, doc_tests: true, runner: ubuntu-26.04}
- {family: clang, version: 16, modules: false, doc_tests: false, runner: ubuntu-24.04}
- {family: clang, version: 17, modules: false, doc_tests: true, runner: ubuntu-26.04}
- {family: clang, version: 18, modules: false, doc_tests: true, runner: ubuntu-26.04}
- {family: clang, version: 19, modules: false, doc_tests: true, runner: ubuntu-26.04}
- {family: clang, version: 20, modules: true, doc_tests: true, runner: ubuntu-26.04}
- {family: clang, version: 21, modules: true, doc_tests: true, runner: ubuntu-26.04}

steps:
- uses: actions/checkout@v7
Expand All @@ -35,10 +35,10 @@ jobs:
if: ${{ matrix.compiler.family == 'clang' }}
run: |
version='${{ matrix.compiler.version }}'
if [ "$version" -ge 21 ]; then
curl https://apt.llvm.org/llvm.sh | sudo bash -s -- "$version"
if [ -z "$(apt-cache madison "clang-$version")" ]; then
curl -fsSL https://apt.llvm.org/llvm.sh | sudo bash -s -- "$version"
fi
sudo apt install -y "clang-$version" "clang-tools-$version" "libc++-$version-dev" "libc++abi-$version-dev"
sudo apt install -y "clang-$version" "clang-tools-$version" "libc++-$version-dev" "libc++abi-$version-dev" "libunwind-$version-dev"
cat <<'EOF' >> "$GITHUB_ENV"
CC=clang-${{ matrix.compiler.version }}
CXX=clang++-${{ matrix.compiler.version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bvt-gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:

jobs:
bvt-gcc:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
container: gcc:16
steps:
- uses: actions/checkout@v7
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/bvt-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ on:

jobs:
bvt-lint:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0

- name: Setup Python
uses: actions/setup-python@v7.0.0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/bvt-nvhpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ env:

jobs:
bvt-nvhpc:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@v7

- name: Free disk space
uses: jlumbroso/free-disk-space@v1.3.1
uses: jlumbroso/free-disk-space@v2.0.0

- name: Install meson
run: pipx install meson
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bvt-oneapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:

jobs:
bvt-oneapi:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@v7

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bvt-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:

jobs:
bvt-report:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@v7

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pipeline-bump-cpp-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ permissions:

jobs:
bump-cpp-dependencies:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
# The weekly cron only runs on the canonical repo. Forks can still trigger it manually.
if: github.event_name != 'schedule' || github.repository == 'ngcpp/proxy'
steps:
- name: Mint a GitHub App token
id: app-token
uses: actions/create-github-app-token@v3
with:
app-id: ${{ secrets.DEPENDENCY_MANAGER_APP_ID }}
client-id: ${{ secrets.DEPENDENCY_MANAGER_APP_ID }}
private-key: ${{ secrets.DEPENDENCY_MANAGER_APP_PRIVATE_KEY }}

- name: Resolve the bot's commit identity
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pipeline-bump-renovate-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ permissions:

jobs:
renovate:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
# The weekly cron only runs on the canonical repo. Forks can still trigger it manually.
if: github.event_name != 'schedule' || github.repository == 'ngcpp/proxy'
steps:
- name: Mint a GitHub App token
id: app-token
uses: actions/create-github-app-token@v3
with:
app-id: ${{ secrets.DEPENDENCY_MANAGER_APP_ID }}
client-id: ${{ secrets.DEPENDENCY_MANAGER_APP_ID }}
private-key: ${{ secrets.DEPENDENCY_MANAGER_APP_PRIVATE_KEY }}

- name: Resolve the bot's commit identity
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pipeline-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@v7
with:
Expand All @@ -33,7 +33,7 @@ jobs:

deploy:
needs: build
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
id-token: write
pages: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pipeline-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Draft release
permissions:
contents: write
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@v7
- name: Pack source
Expand Down
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,25 @@ repos:
args: ["--maxkb=1024"]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.16.6
rev: v0.16.8
hooks:
- id: ruff-format

- repo: https://github.com/BlankSpruce/gersemi-pre-commit
rev: 0.28.1
rev: 0.29.1
hooks:
- id: gersemi
args: ["--indent", "2"]
exclude: '^(subprojects|build|bazel-.*)/'

- repo: https://github.com/keith/pre-commit-buildifier
rev: 8.5.1
rev: 10.0.1
hooks:
- id: buildifier
exclude: '^(subprojects|build|bazel-.*)/'

- repo: https://github.com/rhysd/actionlint
rev: v1.7.12
- repo: https://github.com/kjanat/actionlint
rev: v1.17.0
hooks:
- id: actionlint

Expand All @@ -50,7 +50,7 @@ repos:
- id: clang-format
name: clang-format
language: python
additional_dependencies: ["clang-format==23.1.0"]
additional_dependencies: ["clang-format==23.1.1"]
entry: python3 tools/format_cpp.py
pass_filenames: false
files: '\.(h|ixx|cpp|md)$'
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module(
)

bazel_dep(name = "platforms", version = "1.1.0")
bazel_dep(name = "rules_cc", version = "0.2.22")
bazel_dep(name = "rules_cc", version = "0.2.25")
bazel_dep(name = "bazel_skylib", version = "1.9.2")

bazel_dep(name = "googletest", version = "1.18.0.bcr.1", dev_dependency = True)
Expand Down
7 changes: 5 additions & 2 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions include/proxy/v4/detail/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -1317,7 +1317,7 @@ struct converter {
std::is_nothrow_invocable_r_v<T, F, std::in_place_type_t<T>>)
requires(std::is_invocable_r_v<T, F, std::in_place_type_t<T>> &&
!std::is_invocable_r_v<T, F, std::in_place_type_t<T&>> &&
!std::is_invocable_r_v<T, F, std::in_place_type_t<T &&>>)
!std::is_invocable_r_v<T, F, std::in_place_type_t<T&&>>)
{
return std::move(f_)(std::in_place_type<T>);
}
Expand All @@ -1331,7 +1331,7 @@ struct converter {
template <class T>
operator T&&() && noexcept(
std::is_nothrow_invocable_r_v<T&&, F, std::in_place_type_t<T&&>>)
requires(std::is_invocable_r_v<T &&, F, std::in_place_type_t<T &&>>)
requires(std::is_invocable_r_v<T&&, F, std::in_place_type_t<T&&>>)
{
return std::move(f_)(std::in_place_type<T&&>);
}
Expand Down
9 changes: 4 additions & 5 deletions include/proxy/v4/detail/dispatch.h
Original file line number Diff line number Diff line change
Expand Up @@ -273,11 +273,10 @@ struct implicit_conversion_dispatch : detail::cast_dispatch_base<false, false> {
struct explicit_conversion_dispatch : detail::cast_dispatch_base<true, false> {
template <class T>
PRO4D_STATIC_CALL(auto, T&& self) noexcept {
return detail::converter{
[&self]<class U>(std::in_place_type_t<U>) noexcept(
std::is_nothrow_constructible_v<U, T>) -> U
requires(detail::explicitly_convertible < T &&, U >)
{ return static_cast<U>(std::forward<T>(self)); }};
return detail::converter{[&self]<class U>(std::in_place_type_t<U>) noexcept(
std::is_nothrow_constructible_v<U, T>) -> U
requires(detail::explicitly_convertible<T&&, U>)
{ return static_cast<U>(std::forward<T>(self)); }};
}
};
using conversion_dispatch = explicit_conversion_dispatch;
Expand Down
4 changes: 2 additions & 2 deletions mkdocs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ markdown==3.10.3
mdx_truly_sane_lists==1.3
mkdocs-awesome-pages-plugin==2.10.1
mkdocs-exclude==1.0.2
mkdocs-git-revision-date-localized-plugin==1.5.4
mkdocs-git-revision-date-localized-plugin==1.6.0
mkdocs-material==9.7.7
mkdocs-open-in-new-tab==1.0.8
mkdocs==1.6.1
pygments==2.21.0
pymdown-extensions==11.0.2
pymdown-extensions==12.0.1
Loading