mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-05-01 21:23:52 +00:00
docs: changelog update (#643)
* docs: changelog update * chore: bump version(s) * style: pre-commit.ci fixes * docs: spelling fix Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
4101964033
commit
b440890eaf
@ -1,4 +1,4 @@
|
||||
version: 2.1.0.{build}
|
||||
version: 2.1.1.{build}
|
||||
|
||||
branches:
|
||||
only:
|
||||
|
7
.github/actions/quick_cmake/action.yml
vendored
7
.github/actions/quick_cmake/action.yml
vendored
@ -5,10 +5,17 @@ inputs:
|
||||
description: 'Other arguments'
|
||||
required: false
|
||||
default: ''
|
||||
cmake-version:
|
||||
description: 'The CMake version to run'
|
||||
required: true
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: CMake ${{ inputs.cmake-version }}
|
||||
uses: jwlawson/actions-setup-cmake@v1.11
|
||||
with:
|
||||
cmake-version: "${{ inputs.cmake-version }}"
|
||||
- run: |
|
||||
mkdir -p build-tmp
|
||||
touch build-tmp/tmp
|
||||
|
108
.github/workflows/tests.yml
vendored
108
.github/workflows/tests.yml
vendored
@ -40,141 +40,111 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: CMake 3.4
|
||||
uses: jwlawson/actions-setup-cmake@v1.11
|
||||
- name: Check CMake 3.4
|
||||
with:
|
||||
cmake-version: "3.4"
|
||||
- name: Check CMake 3.4
|
||||
uses: ./.github/actions/quick_cmake
|
||||
|
||||
- name: CMake 3.5
|
||||
uses: jwlawson/actions-setup-cmake@v1.11
|
||||
with:
|
||||
cmake-version: "3.5"
|
||||
- name: Check CMake 3.5
|
||||
uses: ./.github/actions/quick_cmake
|
||||
with:
|
||||
cmake-version: "3.5"
|
||||
if: success() || failure()
|
||||
|
||||
- name: CMake 3.6
|
||||
uses: jwlawson/actions-setup-cmake@v1.11
|
||||
with:
|
||||
cmake-version: "3.6"
|
||||
- name: Check CMake 3.6
|
||||
uses: ./.github/actions/quick_cmake
|
||||
with:
|
||||
cmake-version: "3.6"
|
||||
if: success() || failure()
|
||||
|
||||
- name: CMake 3.7
|
||||
uses: jwlawson/actions-setup-cmake@v1.11
|
||||
with:
|
||||
cmake-version: "3.7"
|
||||
- name: Check CMake 3.7
|
||||
uses: ./.github/actions/quick_cmake
|
||||
with:
|
||||
cmake-version: "3.7"
|
||||
if: success() || failure()
|
||||
|
||||
- name: CMake 3.8
|
||||
uses: jwlawson/actions-setup-cmake@v1.11
|
||||
with:
|
||||
cmake-version: "3.8"
|
||||
- name: Check CMake 3.8
|
||||
uses: ./.github/actions/quick_cmake
|
||||
with:
|
||||
cmake-version: "3.8"
|
||||
if: success() || failure()
|
||||
|
||||
- name: CMake 3.9
|
||||
uses: jwlawson/actions-setup-cmake@v1.11
|
||||
with:
|
||||
cmake-version: "3.9"
|
||||
- name: Check CMake 3.9
|
||||
uses: ./.github/actions/quick_cmake
|
||||
with:
|
||||
cmake-version: "3.9"
|
||||
if: success() || failure()
|
||||
|
||||
- name: CMake 3.10
|
||||
uses: jwlawson/actions-setup-cmake@v1.11
|
||||
with:
|
||||
cmake-version: "3.10"
|
||||
- name: Check CMake 3.10
|
||||
uses: ./.github/actions/quick_cmake
|
||||
with:
|
||||
cmake-version: "3.10"
|
||||
if: success() || failure()
|
||||
|
||||
- name: CMake 3.11
|
||||
uses: jwlawson/actions-setup-cmake@v1.11
|
||||
with:
|
||||
cmake-version: "3.11"
|
||||
- name: Check CMake 3.11 (full)
|
||||
uses: ./.github/actions/quick_cmake
|
||||
with:
|
||||
cmake-version: "3.11"
|
||||
args: -DCLI11_SANITIZERS=ON -DCLI11_BUILD_EXAMPLES_JSON=ON
|
||||
if: success() || failure()
|
||||
|
||||
- name: CMake 3.12
|
||||
uses: jwlawson/actions-setup-cmake@v1.11
|
||||
with:
|
||||
cmake-version: "3.12"
|
||||
- name: Check CMake 3.12
|
||||
uses: ./.github/actions/quick_cmake
|
||||
with:
|
||||
cmake-version: "3.12"
|
||||
if: success() || failure()
|
||||
|
||||
- name: CMake 3.13
|
||||
uses: jwlawson/actions-setup-cmake@v1.11
|
||||
with:
|
||||
cmake-version: "3.13"
|
||||
- name: Check CMake 3.13
|
||||
uses: ./.github/actions/quick_cmake
|
||||
with:
|
||||
cmake-version: "3.13"
|
||||
if: success() || failure()
|
||||
|
||||
- name: CMake 3.14
|
||||
uses: jwlawson/actions-setup-cmake@v1.11
|
||||
with:
|
||||
cmake-version: "3.14"
|
||||
- name: Check CMake 3.14
|
||||
uses: ./.github/actions/quick_cmake
|
||||
with:
|
||||
cmake-version: "3.14"
|
||||
if: success() || failure()
|
||||
|
||||
- name: CMake 3.15
|
||||
uses: jwlawson/actions-setup-cmake@v1.11
|
||||
with:
|
||||
cmake-version: "3.15"
|
||||
- name: Check CMake 3.15
|
||||
uses: ./.github/actions/quick_cmake
|
||||
with:
|
||||
cmake-version: "3.15"
|
||||
if: success() || failure()
|
||||
|
||||
- name: CMake 3.16
|
||||
uses: jwlawson/actions-setup-cmake@v1.11
|
||||
with:
|
||||
cmake-version: "3.16"
|
||||
- name: Check CMake 3.16
|
||||
uses: ./.github/actions/quick_cmake
|
||||
with:
|
||||
cmake-version: "3.16"
|
||||
if: success() || failure()
|
||||
|
||||
- name: CMake 3.17
|
||||
uses: jwlawson/actions-setup-cmake@v1.11
|
||||
with:
|
||||
cmake-version: "3.17"
|
||||
- name: Check CMake 3.17
|
||||
uses: ./.github/actions/quick_cmake
|
||||
with:
|
||||
cmake-version: "3.17"
|
||||
if: success() || failure()
|
||||
|
||||
- name: CMake 3.18
|
||||
uses: jwlawson/actions-setup-cmake@v1.11
|
||||
with:
|
||||
cmake-version: "3.18"
|
||||
- name: Check CMake 3.18
|
||||
uses: ./.github/actions/quick_cmake
|
||||
with:
|
||||
cmake-version: "3.18"
|
||||
if: success() || failure()
|
||||
|
||||
- name: CMake 3.19
|
||||
uses: jwlawson/actions-setup-cmake@v1.11
|
||||
- name: Check CMake 3.19
|
||||
uses: ./.github/actions/quick_cmake
|
||||
with:
|
||||
cmake-version: "3.19"
|
||||
- name: Check CMake 3.19 (full)
|
||||
uses: ./.github/actions/quick_cmake
|
||||
with:
|
||||
args: -DCLI11_SANITIZERS=ON -DCLI11_BUILD_EXAMPLES_JSON=ON
|
||||
if: success() || failure()
|
||||
|
||||
- name: CMake 3.20
|
||||
uses: jwlawson/actions-setup-cmake@v1.11
|
||||
with:
|
||||
cmake-version: "3.20"
|
||||
- name: Check CMake 3.20
|
||||
uses: ./.github/actions/quick_cmake
|
||||
with:
|
||||
cmake-version: "3.20"
|
||||
if: success() || failure()
|
||||
|
||||
- name: Check CMake 3.21 (full)
|
||||
uses: ./.github/actions/quick_cmake
|
||||
with:
|
||||
cmake-version: "3.21"
|
||||
args: -DCLI11_SANITIZERS=ON -DCLI11_BUILD_EXAMPLES_JSON=ON
|
||||
if: success() || failure()
|
||||
|
@ -23,6 +23,12 @@ is not passed, or every time the option is parsed.
|
||||
[#633]: https://github.com/CLIUtils/CLI11/pull/633
|
||||
[#635]: https://github.com/CLIUtils/CLI11/pull/635
|
||||
|
||||
### Version 2.1.1: Quick Windows fix
|
||||
|
||||
* A collision with `min`/`max` macros on Windows has been fixed. [#642][]
|
||||
|
||||
[#642]: https://github.com/CLIUtils/CLI11/pull/642
|
||||
|
||||
## Version 2.0: Simplification
|
||||
|
||||
This version focuses on cleaning up deprecated functionality, and some minor
|
||||
|
@ -2,14 +2,14 @@ cmake_minimum_required(VERSION 3.4)
|
||||
# Note: this is a header only library. If you have an older CMake than 3.4,
|
||||
# just add the CLI11/include directory and that's all you need to do.
|
||||
|
||||
# Make sure users don't get warnings on a tested (3.4 to 3.20) version
|
||||
# Make sure users don't get warnings on a tested (3.4 to 3.21) version
|
||||
# of CMake. For most of the policies, the new version is better (hence the change).
|
||||
# We don't use the 3.4...3.20 syntax because of a bug in an older MSVC's
|
||||
# We don't use the 3.4...3.21 syntax because of a bug in an older MSVC's
|
||||
# built-in and modified CMake 3.11
|
||||
if(${CMAKE_VERSION} VERSION_LESS 3.20)
|
||||
if(${CMAKE_VERSION} VERSION_LESS 3.21)
|
||||
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
|
||||
else()
|
||||
cmake_policy(VERSION 3.20)
|
||||
cmake_policy(VERSION 3.21)
|
||||
endif()
|
||||
|
||||
set(VERSION_REGEX "#define CLI11_VERSION[ \t]+\"(.+)\"")
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
#define CLI11_VERSION_MAJOR 2
|
||||
#define CLI11_VERSION_MINOR 1
|
||||
#define CLI11_VERSION_PATCH 0
|
||||
#define CLI11_VERSION "2.1.0"
|
||||
#define CLI11_VERSION_PATCH 1
|
||||
#define CLI11_VERSION "2.1.1"
|
||||
|
||||
// [CLI11:version_hpp:end]
|
||||
|
Loading…
x
Reference in New Issue
Block a user