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
3 changes: 3 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ Checks:
- -modernize-type-traits # use c++17 style variable templates
- -modernize-use-auto # use auto when initializing with a cast to avoid duplicating the type name
- -modernize-use-default-member-init # use default member initializer for 'm_pos'
- -modernize-use-designated-initializers
- -modernize-use-nodiscard # function 'valid' should be marked nodiscard
- -modernize-use-std-print
- -modernize-use-trailing-return-type # don't care about this
- -modernize-use-using # use 'using' instead of 'typedef'
- -performance-enum-size # enum '_ppstate' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size
Expand All @@ -98,6 +100,7 @@ Checks:
- -readability-redundant-access-specifiers # redundant access specifier has the same accessibility as the previous access specifier
- -readability-redundant-member-init # initializer for member 'm_arena' is redundant
- -readability-redundant-parentheses # redundant parentheses around expression
- -readability-redundant-typename
- -readability-simplify-boolean-expr # boolean expression can be simplified by DeMorgan's theorem
- -readability-suspicious-call-argument # 1st argument 'after' (passed to 'node') looks like it might be swapped with the 2nd, 'node' (passed to 'sib')
- -readability-uppercase-literal-suffix # integer literal has suffix 'u', which is not uppercase
Expand Down
11 changes: 0 additions & 11 deletions .github/workflows/bash/clang-checkout.bash

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout (action)
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: recursive
fetch-depth: 0
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
export SRC_VERSION=$SRC_VERSION
EOF
- name: Save vars.sh
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: vars.sh
path: ./vars.sh
Expand Down Expand Up @@ -123,12 +123,12 @@ jobs:
OS: ${{matrix.os}}
steps:
- name: checkout (action)
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: recursive
fetch-depth: 0
- name: Download vars.sh
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
with:
name: vars.sh
path: ./
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
mv -vf build/$bl/bm/bm-results/* $dst/.
done
- name: upload benchmark result artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ryml-benchmark_results-${{strategy.job-index}}
path: ryml-benchmark_results/
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.ys
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
mv -vf build/$bl/bm/bm-results/* $dst/.
done
- name: upload benchmark result artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ryml-benchmark_results-${{strategy.job-index}}
path: ryml-benchmark_results/
10 changes: 5 additions & 5 deletions .github/workflows/clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
bitlinks: shared64 static32
steps:
- name: checkout (action + docker)
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: recursive
fetch-depth: 0
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
bitlinks: shared64 static32
steps:
- name: checkout (action + docker)
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: recursive
fetch-depth: 0
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:
bitlinks: shared64 static32
steps:
- name: checkout (action + docker)
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: recursive
fetch-depth: 0
Expand Down Expand Up @@ -260,7 +260,7 @@ jobs:
bitlinks: shared64 static32
steps:
- name: checkout (action + docker)
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: recursive
fetch-depth: 0
Expand Down Expand Up @@ -1303,7 +1303,7 @@ jobs:
OS: ${{matrix.os}}
steps:
- name: checkout (action + docker)
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: recursive
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clang.ys
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ jobs:
# env:: load('share/env.yaml')
#
# steps:
# - {name: checkout, uses: actions/checkout@v4,
# - {name: checkout, uses: actions/checkout@v6,
# with: {submodules: recursive}}
# # needed for running in the docker image.
# # see https://github.com/actions/checkout/issues/1169
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/clang_tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:
if: always()
continue-on-error: false
runs-on: ubuntu-24.04
container: ghcr.io/biojppm/c4core/ubuntu22.04:latest
container: ghcr.io/biojppm/c4core/ubuntu24.04:latest
name: clang_tidy/c++${{matrix.std}}/${{matrix.bt}}
strategy:
fail-fast: false
matrix:
include:
- std: 11
clang: 18
clang: 22
bt: Debug
bits: 64
env:
Expand All @@ -44,7 +44,7 @@ jobs:
OS: ${{matrix.os}}
steps:
- name: checkout (action + docker)
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: recursive
fetch-depth: 0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/clang_tidy.ys
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@

jobs:
clang_tidy:
:: setup-job('clang_tidy' 'clang_tidy') + runs-on-docker-c4core('22.04')
:: setup-job('clang_tidy' 'clang_tidy') + runs-on-docker-c4core('24.04')
name: clang_tidy/c++${{matrix.std}}/${{matrix.bt}}
strategy:
fail-fast: false
matrix:
include:
- {std: 11, clang: 18, bt: Debug, bits: 64}
- {std: 11, clang: 22, bt: Debug, bits: 64}
env:: load('share/env.yaml')
steps:
- :: checkout-action-docker
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- cpp
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: recursive
- name: Initialize CodeQL
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.ys
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: recursive

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}
steps:
- name: checkout (action)
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: recursive
fetch-depth: 0
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
export CTEST_PARALLEL_LEVEL=`nproc`
cmake --build build/$BUILD_ID --verbose --target ryml-coverage
- name: upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: coverage-${{env.BUILD_ID}}
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.ys
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
export CTEST_PARALLEL_LEVEL=`nproc`
cmake --build build/$BUILD_ID --verbose --target ryml-coverage
- name: upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: coverage-${{env.BUILD_ID}}
path: |
Expand Down
Loading
Loading