Skip to content

Commit 5f4ec36

Browse files
authored
Merge pull request #221 from Morwenn/1.x.y-develop
Release 1.16.0
2 parents 31dd8e9 + 018f0ab commit 5f4ec36

Some content is hidden

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

67 files changed

+2269
-1572
lines changed

.clang-tidy

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright (c) 2023 Morwenn
2+
# SPDX-License-Identifier: MIT
3+
4+
# Disabled:
5+
# -modernize-avoid-c-arrays: C arrays are cool enough
6+
Checks: >
7+
-*,
8+
bugprone-*,
9+
clang-analyzer-*,
10+
modernize-*,
11+
performance-*,
12+
portability-*,
13+
-modernize-avoid-c-arrays

.github/workflows/build-macos.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2021-2022 Morwenn
1+
# Copyright (c) 2021-2024 Morwenn
22
# SPDX-License-Identifier: MIT
33

44
name: MacOS Builds
@@ -23,13 +23,13 @@ on:
2323

2424
jobs:
2525
build:
26-
runs-on: macos-11
26+
runs-on: macos-12
2727

2828
strategy:
2929
fail-fast: false
3030
matrix:
3131
cxx:
32-
- g++-10
32+
- g++-11
3333
- clang++
3434
config:
3535
# Release build
@@ -41,7 +41,7 @@ jobs:
4141
sanitize: undefined
4242

4343
steps:
44-
- uses: actions/checkout@v3
44+
- uses: actions/checkout@v4
4545

4646
- name: Configure CMake
4747
working-directory: ${{runner.workspace}}

.github/workflows/build-mingw.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2021-2022 Morwenn
1+
# Copyright (c) 2021-2024 Morwenn
22
# SPDX-License-Identifier: MIT
33

44
name: MinGW-w64 Builds
@@ -31,7 +31,7 @@ jobs:
3131
build_type: [Debug, Release]
3232

3333
steps:
34-
- uses: actions/checkout@v3
34+
- uses: actions/checkout@v4
3535

3636
- name: Configure CMake
3737
shell: pwsh

.github/workflows/build-msvc.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2021-2022 Morwenn
1+
# Copyright (c) 2021-2024 Morwenn
22
# SPDX-License-Identifier: MIT
33

44
name: MSVC Builds
@@ -35,7 +35,7 @@ jobs:
3535
build_tools: '-T ClangCL'
3636

3737
steps:
38-
- uses: actions/checkout@v3
38+
- uses: actions/checkout@v4
3939

4040
- name: Configure CMake
4141
shell: pwsh

.github/workflows/build-ubuntu.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2021-2022 Morwenn
1+
# Copyright (c) 2021-2024 Morwenn
22
# SPDX-License-Identifier: MIT
33

44
name: Ubuntu Builds
@@ -43,7 +43,7 @@ jobs:
4343
sanitize: undefined
4444

4545
steps:
46-
- uses: actions/checkout@v3
46+
- uses: actions/checkout@v4
4747

4848
- name: Install GCC
4949
if: ${{matrix.cxx == 'g++-7'}}

.github/workflows/code-coverage.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
# Copyright (c) 2020-2022 Morwenn
1+
# Copyright (c) 2020-2024 Morwenn
22
# SPDX-License-Identifier: MIT
33

44
name: Coverage Upload to Codecov
55

66
on:
77
push:
88
branches:
9-
- master
10-
- develop
11-
- 2.0.0-develop
9+
- 1.x.y-develop
10+
- 1.x.y-stable
11+
- 2.x.y-develop
1212
paths:
1313
- '.github/workflows/code-coverage.yml'
1414
- '.github/.codecov.yml'
@@ -23,7 +23,7 @@ jobs:
2323

2424
steps:
2525
- name: Checkout project
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727

2828
- name: Install LCOV
2929
run: sudo apt-get install -y lcov
@@ -57,6 +57,7 @@ jobs:
5757
- name: Upload coverage info
5858
uses: codecov/codecov-action@v3
5959
with:
60+
token: ${{ secrets.CODECOV_TOKEN }}
6061
directory: ${{runner.workspace}}/build/lcov/data
6162
files: '*.info'
6263
fail_ci_if_error: true

.github/workflows/deploy-to-wiki.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# Copyright (c) 2020-2022 Morwenn
1+
# Copyright (c) 2020-2024 Morwenn
22
# SPDX-License-Identifier: MIT
33

44
name: Wiki Deployment
55

66
on:
77
push:
88
branches:
9-
- master
9+
- 1.x.y-stable
1010
paths:
1111
- 'docs/**'
1212

@@ -18,13 +18,13 @@ jobs:
1818

1919
steps:
2020
- name: Checkout /docs
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2222
with:
2323
repository: ${{github.repository}}
2424
path: main
2525

2626
- name: Checkout wiki
27-
uses: actions/checkout@v3
27+
uses: actions/checkout@v4
2828
with:
2929
repository: ${{github.repository}}.wiki
3030
path: wiki

CMakeLists.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# Copyright (c) 2015-2023 Morwenn
1+
# Copyright (c) 2015-2024 Morwenn
22
# SPDX-License-Identifier: MIT
33

44
cmake_minimum_required(VERSION 3.8.0)
55

66
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
77

8-
project(cpp-sort VERSION 1.15.0 LANGUAGES CXX)
8+
project(cpp-sort VERSION 1.16.0 LANGUAGES CXX)
99

1010
include(CMakePackageConfigHelpers)
1111
include(GNUInstallDirs)
@@ -24,7 +24,7 @@ if (CPPSORT_USE_LIBASSERT)
2424
include(DownloadProject)
2525
download_project(PROJ libassert
2626
GIT_REPOSITORY https://github.com/jeremy-rifkin/libassert
27-
GIT_TAG v1.2
27+
GIT_TAG v1.2.2
2828
UPDATE_DISCONNECTED 1
2929
)
3030
add_subdirectory(${libassert_SOURCE_DIR} ${libassert_BINARY_DIR})

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
![cpp-sort logo](docs/images/cpp-sort-logo.svg)
22

3-
[![Latest Release](https://img.shields.io/badge/release-1.15.0-blue.svg)](https://github.com/Morwenn/cpp-sort/releases/tag/1.15.0)
4-
[![Conan Package](https://img.shields.io/badge/conan-cpp--sort%2F1.15.0-blue.svg)](https://conan.io/center/recipes/cpp-sort?version=1.15.0)
3+
[![Latest Release](https://img.shields.io/badge/release-1.16.0-blue.svg)](https://github.com/Morwenn/cpp-sort/releases/tag/1.16.0)
4+
[![Conan Package](https://img.shields.io/badge/conan-cpp--sort%2F1.16.0-blue.svg)](https://conan.io/center/recipes/cpp-sort?version=1.16.0)
55
[![Code Coverage](https://codecov.io/gh/Morwenn/cpp-sort/branch/develop/graph/badge.svg)](https://codecov.io/gh/Morwenn/cpp-sort)
66
[![Pitchfork Layout](https://img.shields.io/badge/standard-PFL-orange.svg)](https://github.com/vector-of-bool/pitchfork)
77

benchmarks/benchmarking-tools/cpu_cycles.h

+5-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ template<typename Sorter>
2121
struct cpu_cycles:
2222
cppsort::utility::adapter_storage<Sorter>,
2323
cppsort::detail::check_iterator_category<Sorter>,
24-
cppsort::detail::check_is_always_stable<Sorter>
24+
cppsort::detail::check_is_always_stable<Sorter>,
25+
cppsort::detail::sorter_facade_fptr<
26+
cpu_cycles<Sorter>,
27+
std::is_empty<Sorter>::value
28+
>
2529
{
2630
using tag_t = cpu_cycles_tag;
2731
using metric_t = cppsort::utility::metric<unsigned long long, tag_t>;

0 commit comments

Comments
 (0)