Skip to content

Commit 5de324d

Browse files
chore(deps): update dependency https://github.com/serious-scaffold/ss-pybind11 to v0.8.18 (#107)
Co-authored-by: msclock-bot[bot] <163820484+msclock-bot[bot]@users.noreply.github.com>
1 parent 66dc724 commit 5de324d

File tree

13 files changed

+133
-109
lines changed

13 files changed

+133
-109
lines changed

.copier-answers.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
_commit: v0.8.13
1+
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
2+
_commit: v0.8.18
23
_src_path: https://github.com/serious-scaffold/ss-pybind11
34
author_email: [email protected]
45
author_name: l.feng
@@ -22,5 +23,3 @@ repo_namespace: msclock
2223
repo_platform: github
2324
use_codecov: true
2425
use_codeql: true
25-
use_conan: false
26-
use_cpm: false

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// https://github.com/devcontainers/images/tree/main/src/base-ubuntu
33
{
44
"name": "cppcheck-wheel",
5-
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-22.04",
5+
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04",
66
"capAdd": [
77
// Enable ptrace-based debugging for C++
88
"SYS_PTRACE"

.github/workflows/ci.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@ jobs:
5151
python-version: ['3.8', '3.12']
5252
runs-on: [ubuntu-24.04, macos-14, windows-2022] # renovate: github-runner
5353

54-
include:
55-
- python-version: pypy-3.10
56-
runs-on: ubuntu-24.04 # renovate: github-runner
57-
5854
name: Check Python ${{ matrix.python-version }} on ${{ matrix.runs-on }}
5955

6056
steps:
@@ -69,6 +65,7 @@ jobs:
6965
~/vcpkg
7066
~/.cache/pip
7167
~/.cache/vcpkg
68+
~/AppData/Local/vcpkg
7269
key: ${{ matrix.python-version }}-${{ matrix.runs-on }}-${{ hashFiles('vcpkg.json') }}
7370
restore-keys: ${{ matrix.python-version }}-${{ matrix.runs-on }}-${{ hashFiles('vcpkg.json') }}
7471

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,12 @@ repos:
130130
hooks:
131131
- id: shellcheck
132132

133+
# Check for markdown
134+
- repo: https://github.com/igorshubovych/markdownlint-cli
135+
rev: v0.41.0
136+
hooks:
137+
- id: markdownlint-fix
138+
133139
# Check for renovate config
134140
- repo: https://github.com/renovatebot/pre-commit-hooks
135141
rev: 39.49.3

cmake/presets/base.json

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,21 @@
2020
"CMAKE_BUILD_TYPE": "Debug",
2121
"CMAKE_VERBOSE_MAKEFILE": "FALSE"
2222
}
23+
},
24+
{
25+
"name": "base-config",
26+
"hidden": true,
27+
"inherits": [
28+
"ninja-config",
29+
"vcpkg"
30+
],
31+
"binaryDir": "${sourceDir}/out/build/${presetName}",
32+
"installDir": "${sourceDir}/out/install/${presetName}",
33+
"cacheVariables": {
34+
"CMAKE_EXPORT_COMPILE_COMMANDS": true,
35+
"CMAKE_COMPILE_WARNING_AS_ERROR": false,
36+
"CMAKE_VERBOSE_MAKEFILE": "FALSE"
37+
}
2338
}
2439
],
2540
"buildPresets": [
@@ -28,6 +43,18 @@
2843
"hidden": true,
2944
"inherits": "ninja",
3045
"configurePreset": "base"
46+
},
47+
{
48+
"name": "base-config-relwithdebinfo",
49+
"hidden": true,
50+
"inherits": "ninja-config-relwithdebinfo",
51+
"configurePreset": "base-config"
52+
},
53+
{
54+
"name": "base-config-debug",
55+
"hidden": true,
56+
"inherits": "ninja-config-debug",
57+
"configurePreset": "base-config"
3158
}
3259
],
3360
"testPresets": [
@@ -43,6 +70,32 @@
4370
"noTestsAction": "error",
4471
"stopOnFailure": true
4572
}
73+
},
74+
{
75+
"name": "base-config-relwithdebinfo",
76+
"hidden": true,
77+
"inherits": "ninja-config-relwithdebinfo",
78+
"configurePreset": "base-config",
79+
"output": {
80+
"outputOnFailure": true
81+
},
82+
"execution": {
83+
"noTestsAction": "error",
84+
"stopOnFailure": true
85+
}
86+
},
87+
{
88+
"name": "base-config-debug",
89+
"hidden": true,
90+
"inherits": "ninja-config-debug",
91+
"configurePreset": "base-config",
92+
"output": {
93+
"outputOnFailure": true
94+
},
95+
"execution": {
96+
"noTestsAction": "error",
97+
"stopOnFailure": true
98+
}
4699
}
47100
]
48101
}

cmake/presets/default.json

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,39 +9,46 @@
99
"inherits": [
1010
"base"
1111
]
12+
},
13+
{
14+
"name": "default-config",
15+
"inherits": [
16+
"base-config"
17+
]
1218
}
1319
],
1420
"buildPresets": [
1521
{
1622
"name": "default",
1723
"inherits": "base",
1824
"configurePreset": "default"
25+
},
26+
{
27+
"name": "default-config-relwithdebinfo",
28+
"inherits": "base-config-relwithdebinfo",
29+
"configurePreset": "default-config"
30+
},
31+
{
32+
"name": "default-config-debug",
33+
"inherits": "base-config-debug",
34+
"configurePreset": "default-config"
1935
}
2036
],
2137
"testPresets": [
2238
{
2339
"name": "default",
2440
"inherits": "base",
2541
"configurePreset": "default"
26-
}
27-
],
28-
"workflowPresets": [
42+
},
2943
{
30-
"name": "default",
31-
"steps": [
32-
{
33-
"type": "configure",
34-
"name": "default"
35-
},
36-
{
37-
"type": "build",
38-
"name": "default"
39-
},
40-
{
41-
"type": "test",
42-
"name": "default"
43-
}
44-
]
44+
"name": "default-config-relwithdebinfo",
45+
"inherits": "base-config-relwithdebinfo",
46+
"configurePreset": "default-config"
47+
},
48+
{
49+
"name": "default-config-debug",
50+
"inherits": "base-config-debug",
51+
"configurePreset": "default-config"
4552
}
4653
]
4754
}

cmake/presets/generators/ninja.json

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"generator": "Ninja"
88
},
99
{
10-
"name": "ninja-multi-config",
10+
"name": "ninja-config",
1111
"hidden": true,
1212
"generator": "Ninja Multi-Config"
1313
}
@@ -19,10 +19,16 @@
1919
"configurePreset": "ninja"
2020
},
2121
{
22-
"name": "ninja-multi-config",
22+
"name": "ninja-config-relwithdebinfo",
2323
"hidden": true,
24-
"configurePreset": "ninja-multi-config",
24+
"configurePreset": "ninja-config",
2525
"configuration": "RelWithDebInfo"
26+
},
27+
{
28+
"name": "ninja-config-debug",
29+
"hidden": true,
30+
"configurePreset": "ninja-config",
31+
"configuration": "Debug"
2632
}
2733
],
2834
"testPresets": [
@@ -32,10 +38,16 @@
3238
"configurePreset": "ninja"
3339
},
3440
{
35-
"name": "ninja-multi-config",
41+
"name": "ninja-config-relwithdebinfo",
3642
"hidden": true,
37-
"configurePreset": "ninja-multi-config",
43+
"configurePreset": "ninja-config",
3844
"configuration": "RelWithDebInfo"
45+
},
46+
{
47+
"name": "ninja-config-debug",
48+
"hidden": true,
49+
"configurePreset": "ninja-config",
50+
"configuration": "Debug"
3951
}
4052
]
4153
}

cmake/presets/x64-linux-gcc.json

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -30,24 +30,5 @@
3030
"inherits": "base",
3131
"configurePreset": "x64-linux-gcc"
3232
}
33-
],
34-
"workflowPresets": [
35-
{
36-
"name": "x64-linux-gcc",
37-
"steps": [
38-
{
39-
"type": "configure",
40-
"name": "x64-linux-gcc"
41-
},
42-
{
43-
"type": "build",
44-
"name": "x64-linux-gcc"
45-
},
46-
{
47-
"type": "test",
48-
"name": "x64-linux-gcc"
49-
}
50-
]
51-
}
5233
]
5334
}

cmake/presets/x64-linux-llvm.json

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -30,24 +30,5 @@
3030
"inherits": "base",
3131
"configurePreset": "x64-linux-llvm"
3232
}
33-
],
34-
"workflowPresets": [
35-
{
36-
"name": "x64-linux-llvm",
37-
"steps": [
38-
{
39-
"type": "configure",
40-
"name": "x64-linux-llvm"
41-
},
42-
{
43-
"type": "build",
44-
"name": "x64-linux-llvm"
45-
},
46-
{
47-
"type": "test",
48-
"name": "x64-linux-llvm"
49-
}
50-
]
51-
}
5233
]
5334
}

cmake/presets/x64-mingw-dynamic-windows-mingw.json

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -31,24 +31,5 @@
3131
"inherits": "base",
3232
"configurePreset": "x64-mingw-dynamic-windows-mingw"
3333
}
34-
],
35-
"workflowPresets": [
36-
{
37-
"name": "x64-mingw-dynamic-windows-mingw",
38-
"steps": [
39-
{
40-
"type": "configure",
41-
"name": "x64-mingw-dynamic-windows-mingw"
42-
},
43-
{
44-
"type": "build",
45-
"name": "x64-mingw-dynamic-windows-mingw"
46-
},
47-
{
48-
"type": "test",
49-
"name": "x64-mingw-dynamic-windows-mingw"
50-
}
51-
]
52-
}
5334
]
5435
}

0 commit comments

Comments
 (0)