cppcheck 1.0.0__tar.gz → 1.0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cppcheck-1.0.3/.github/workflows/cd.yml +190 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/.pre-commit-config.yaml +1 -1
- {cppcheck-1.0.0 → cppcheck-1.0.3}/PKG-INFO +1 -1
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/vcpkg/bootstrap/vcpkg_load_triplet.cmake +6 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/pyproject.toml +12 -4
- {cppcheck-1.0.0 → cppcheck-1.0.3}/src/cppcheck/_version.py +2 -2
- cppcheck-1.0.0/.github/workflows/cd.yml +0 -114
- {cppcheck-1.0.0 → cppcheck-1.0.3}/.clang-format +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/.clang-tidy +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/.copier-answers.yml +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/.cppcheck-suppressions.txt +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/.devcontainer/devcontainer.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/.editorconfig +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/.gitattributes +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/.github/codecov.yml +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/.github/codeql-config.yml +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/.github/matchers/pylint.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/.github/workflows/ci.yml +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/.github/workflows/codeql.yml +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/.github/workflows/renovate.yml +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/.github/workflows/semantic-release.yml +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/.gitignore +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/.markdownlint.yaml +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/.releaserc.js +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/.renovaterc.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/.vscode/launch.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/.vscode/settings.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/CMakeLists.txt +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/CMakePresets.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/LICENSE +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/README.md +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/ConfigureWarningsAndHardening.cmake +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/presets/arch/x64.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/presets/base.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/presets/compilers/gcc.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/presets/compilers/llvm.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/presets/compilers/mingw.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/presets/compilers/msvc.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/presets/default.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/presets/generators/ninja.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/presets/os/darwin.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/presets/os/linux.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/presets/os/windows.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/presets/toolchains/vcpkg.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/presets/triplets/x64-linux.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/presets/triplets/x64-mingw-dynamic.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/presets/triplets/x64-mingw-static.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/presets/triplets/x64-osx.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/presets/triplets/x64-windows.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/presets/x64-linux-gcc.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/presets/x64-linux-llvm.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/presets/x64-mingw-dynamic-windows-mingw.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/presets/x64-mingw-static-windows-mingw.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/presets/x64-osx-gcc.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/presets/x64-osx-llvm.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/presets/x64-windows-llvm.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/presets/x64-windows-msvc.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/vcpkg/bootstrap/vcpkg-config.cmake +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/vcpkg/bootstrap/vcpkg_bootstrap.cmake +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/vcpkg/bootstrap/vcpkg_chainload_toolchain.cmake +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/vcpkg/bootstrap/vcpkg_configure.cmake +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/vcpkg/bootstrap/vcpkg_export_mode.cmake +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/vcpkg/bootstrap/vcpkg_skip_install_on_reconfigure.cmake +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/vcpkg/ports/README.md +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/vcpkg/ports/cppcheck/portfile.cmake +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/vcpkg/ports/cppcheck/vcpkg.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/vcpkg/ports/python3/portfile.cmake +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/vcpkg/ports/python3/vcpkg.json +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/vcpkg/scripts/build_type.cmake +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/vcpkg/scripts/toolchains/README.md +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/vcpkg/triplets/README.md +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/vcpkg/vcpkg.toolchain.cmake +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/docs/api/index.md +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/docs/conf.py +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/docs/index.md +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/noxfile.py +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/src/CMakeLists.txt +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/src/cppcheck/__init__.py +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/src/cppcheck/__main__.py +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/src/cppcheck/_version.pyi +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/src/cppcheck/py.typed +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/tests/test_package.py +0 -0
- {cppcheck-1.0.0 → cppcheck-1.0.3}/vcpkg.json +0 -0
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
name: CD
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
release:
|
|
6
|
+
types:
|
|
7
|
+
- published
|
|
8
|
+
|
|
9
|
+
concurrency:
|
|
10
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
11
|
+
cancel-in-progress: true
|
|
12
|
+
|
|
13
|
+
env:
|
|
14
|
+
FORCE_COLOR: 3
|
|
15
|
+
|
|
16
|
+
jobs:
|
|
17
|
+
build_sdist:
|
|
18
|
+
name: Build SDist
|
|
19
|
+
runs-on: ubuntu-22.04
|
|
20
|
+
steps:
|
|
21
|
+
- uses: actions/checkout@v4
|
|
22
|
+
with:
|
|
23
|
+
fetch-depth: 0
|
|
24
|
+
|
|
25
|
+
- name: Build SDist
|
|
26
|
+
run: pipx run build --sdist
|
|
27
|
+
|
|
28
|
+
- uses: actions/upload-artifact@v4
|
|
29
|
+
with:
|
|
30
|
+
name: cibw-sdist
|
|
31
|
+
path: dist/*.tar.gz
|
|
32
|
+
|
|
33
|
+
build_wheels:
|
|
34
|
+
name: Build ${{ matrix.platform }}-${{ matrix.arch }} wheels on ${{ matrix.os }}
|
|
35
|
+
runs-on: ${{ matrix.os }}
|
|
36
|
+
|
|
37
|
+
strategy:
|
|
38
|
+
matrix:
|
|
39
|
+
# emulated linux: generate 6 matrix combinations with qemu on ubuntu:
|
|
40
|
+
arch: [aarch64, ppc64le, s390x]
|
|
41
|
+
platform: [manylinux, musllinux]
|
|
42
|
+
os: [ubuntu-latest]
|
|
43
|
+
emulation: [qemu]
|
|
44
|
+
exclude:
|
|
45
|
+
# conditionally skip jobs requiring emulation:
|
|
46
|
+
- os: ubuntu-latest
|
|
47
|
+
emulation: ''
|
|
48
|
+
include:
|
|
49
|
+
# linux
|
|
50
|
+
- os: ubuntu-latest
|
|
51
|
+
platform: manylinux
|
|
52
|
+
arch: x86_64
|
|
53
|
+
- os: ubuntu-latest
|
|
54
|
+
platform: manylinux
|
|
55
|
+
arch: i686
|
|
56
|
+
- os: ubuntu-latest
|
|
57
|
+
platform: musllinux
|
|
58
|
+
arch: x86_64
|
|
59
|
+
- os: ubuntu-latest
|
|
60
|
+
platform: musllinux
|
|
61
|
+
arch: i686
|
|
62
|
+
# windows
|
|
63
|
+
- os: windows-2019
|
|
64
|
+
platform: win
|
|
65
|
+
arch: AMD64
|
|
66
|
+
- os: windows-2019
|
|
67
|
+
platform: win
|
|
68
|
+
arch: x86
|
|
69
|
+
# macos
|
|
70
|
+
- os: macos-13
|
|
71
|
+
platform: macos
|
|
72
|
+
arch: x86_64
|
|
73
|
+
- os: macos-latest
|
|
74
|
+
platform: macos
|
|
75
|
+
arch: arm64
|
|
76
|
+
steps:
|
|
77
|
+
- uses: actions/checkout@v4
|
|
78
|
+
with:
|
|
79
|
+
fetch-depth: 0
|
|
80
|
+
|
|
81
|
+
- name: Support long paths on Windows
|
|
82
|
+
if: runner.os == 'Windows'
|
|
83
|
+
run: git config --system core.longpaths true
|
|
84
|
+
|
|
85
|
+
- name: Set up msvc on Windows
|
|
86
|
+
if: runner.os == 'Windows'
|
|
87
|
+
uses: ilammy/msvc-dev-cmd@v1
|
|
88
|
+
with:
|
|
89
|
+
arch: ${{ matrix.arch }}
|
|
90
|
+
|
|
91
|
+
- name: Set up QEMU
|
|
92
|
+
uses: docker/setup-qemu-action@v3.2.0
|
|
93
|
+
if: runner.os == 'Linux' && matrix.emulation == 'qemu'
|
|
94
|
+
|
|
95
|
+
- name: Check architecture and set environment variable
|
|
96
|
+
if: runner.os == 'Linux'
|
|
97
|
+
run: |
|
|
98
|
+
echo "Checking architecture..."
|
|
99
|
+
if [[ ${{ matrix.arch }} == 'aarch64' ||
|
|
100
|
+
${{ matrix.arch }} == 'ppc64le' ||
|
|
101
|
+
${{ matrix.arch }} == 's390x' ]]; then
|
|
102
|
+
echo "Setting CIBW_ENVIRONMENT to 1"
|
|
103
|
+
echo "CIBW_ENVIRONMENT=VCPKG_FORCE_SYSTEM_BINARIES=1" >> $GITHUB_ENV
|
|
104
|
+
fi
|
|
105
|
+
|
|
106
|
+
- name: Build wheels
|
|
107
|
+
uses: pypa/cibuildwheel@v2.20
|
|
108
|
+
env:
|
|
109
|
+
CIBW_ARCHS: ${{ matrix.arch }}
|
|
110
|
+
# restrict to a single Python version as wheel does not depend on Python:
|
|
111
|
+
CIBW_BUILD: cp311-${{ matrix.platform }}*
|
|
112
|
+
|
|
113
|
+
- name: Upload wheels
|
|
114
|
+
uses: actions/upload-artifact@v4
|
|
115
|
+
with:
|
|
116
|
+
name: cibw-${{ runner.os }}-${{ matrix.platform }}-${{ matrix.arch }}
|
|
117
|
+
path: wheelhouse/*.whl
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
check_dist:
|
|
121
|
+
name: Check dist
|
|
122
|
+
needs: [build_wheels, build_sdist]
|
|
123
|
+
runs-on: ubuntu-22.04
|
|
124
|
+
steps:
|
|
125
|
+
- uses: actions/download-artifact@v4
|
|
126
|
+
with:
|
|
127
|
+
pattern: cibw-*
|
|
128
|
+
path: dist
|
|
129
|
+
merge-multiple: true
|
|
130
|
+
|
|
131
|
+
- run: pipx run twine check --strict dist/*
|
|
132
|
+
|
|
133
|
+
upload_all:
|
|
134
|
+
needs: [build_wheels, build_sdist]
|
|
135
|
+
environment: pypi
|
|
136
|
+
permissions:
|
|
137
|
+
id-token: write
|
|
138
|
+
runs-on: ubuntu-22.04
|
|
139
|
+
if: github.event_name == 'release' && github.event.action == 'published'
|
|
140
|
+
|
|
141
|
+
steps:
|
|
142
|
+
- uses: actions/download-artifact@v4
|
|
143
|
+
with:
|
|
144
|
+
pattern: cibw-*
|
|
145
|
+
path: dist
|
|
146
|
+
merge-multiple: true
|
|
147
|
+
|
|
148
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
149
|
+
env:
|
|
150
|
+
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
|
|
151
|
+
with:
|
|
152
|
+
password: ${{ secrets.PYPI_API_TOKEN }}
|
|
153
|
+
|
|
154
|
+
pages:
|
|
155
|
+
name: Deploy to GitHub Pages
|
|
156
|
+
runs-on: ubuntu-22.04
|
|
157
|
+
if: ${{ github.ref_name == github.event.repository.default_branch || (github.event_name == 'release' && github.event.action == 'published') }}
|
|
158
|
+
permissions:
|
|
159
|
+
contents: write
|
|
160
|
+
id-token: write
|
|
161
|
+
timeout-minutes: 15
|
|
162
|
+
|
|
163
|
+
steps:
|
|
164
|
+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
|
165
|
+
with:
|
|
166
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
167
|
+
ref: ${{ github.head_ref }}
|
|
168
|
+
|
|
169
|
+
- name: Cache
|
|
170
|
+
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
|
|
171
|
+
with:
|
|
172
|
+
path: |
|
|
173
|
+
~/vcpkg
|
|
174
|
+
~/.cache/pip
|
|
175
|
+
~/.cache/vcpkg
|
|
176
|
+
key: cd-pages-${{ hashFiles('vcpkg.json') }}
|
|
177
|
+
restore-keys: cd-pages-${{ hashFiles('vcpkg.json') }}
|
|
178
|
+
|
|
179
|
+
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5
|
|
180
|
+
with:
|
|
181
|
+
python-version: 3.x
|
|
182
|
+
|
|
183
|
+
- name: Build Docs
|
|
184
|
+
run: pipx run nox -s docs
|
|
185
|
+
|
|
186
|
+
- name: Deploy to GitHub Pages
|
|
187
|
+
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4
|
|
188
|
+
with:
|
|
189
|
+
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
190
|
+
publish_dir: ./docs/_build/html
|
|
@@ -102,7 +102,7 @@ repos:
|
|
|
102
102
|
rev: v0.16
|
|
103
103
|
hooks:
|
|
104
104
|
- id: validate-pyproject
|
|
105
|
-
additional_dependencies: ['validate-pyproject-schema-store[all]']
|
|
105
|
+
additional_dependencies: ['validate-pyproject-schema-store[all]>=2024.10.21']
|
|
106
106
|
|
|
107
107
|
# Check jsonschema
|
|
108
108
|
- repo: https://github.com/python-jsonschema/check-jsonschema
|
|
@@ -169,6 +169,12 @@ function(_vcpkg_detect_host_triplet)
|
|
|
169
169
|
|
|
170
170
|
if(NOT _detect_target_triplet_arch STREQUAL ""
|
|
171
171
|
AND NOT _detect_target_triplet_plat STREQUAL "")
|
|
172
|
+
set(VCPKG_DETECT_TRIPLET_ARCH
|
|
173
|
+
${_detect_target_triplet_arch}
|
|
174
|
+
PARENT_SCOPE)
|
|
175
|
+
set(VCPKG_DETECT_TRIPLET_PLAT
|
|
176
|
+
${_detect_target_triplet_plat}
|
|
177
|
+
PARENT_SCOPE)
|
|
172
178
|
set(VCPKG_HOST_TRIPLET
|
|
173
179
|
"${_detect_target_triplet_arch}-${_detect_target_triplet_plat}"
|
|
174
180
|
PARENT_SCOPE)
|
|
@@ -56,8 +56,12 @@ Discussions = "https://github.com/serious-scaffold/cppcheck-wheel/discussions"
|
|
|
56
56
|
Changelog = "https://github.com/serious-scaffold/cppcheck-wheel/releases"
|
|
57
57
|
|
|
58
58
|
[tool.scikit-build]
|
|
59
|
-
minimum-version = "0.
|
|
59
|
+
minimum-version = "0.9"
|
|
60
60
|
build-dir = "build/{wheel_tag}"
|
|
61
|
+
cmake.verbose = true
|
|
62
|
+
logging.level = "DEBUG"
|
|
63
|
+
wheel.py-api = "py3"
|
|
64
|
+
wheel.expand-macos-universal-tags = true
|
|
61
65
|
metadata.version.provider = "scikit_build_core.metadata.setuptools_scm"
|
|
62
66
|
sdist.include = ["src/cppcheck/_version.py"]
|
|
63
67
|
cmake.args = [
|
|
@@ -71,13 +75,17 @@ cmake.args = [
|
|
|
71
75
|
write_to = "src/cppcheck/_version.py"
|
|
72
76
|
|
|
73
77
|
[tool.cibuildwheel]
|
|
78
|
+
build-verbosity = 1
|
|
74
79
|
test-command = "pytest {project}/tests"
|
|
75
80
|
test-extras = ["test"]
|
|
76
|
-
test-skip = ["
|
|
77
|
-
before-all = ['cmake --version', 'git --version']
|
|
81
|
+
test-skip = ["*-win_arm64", "*-macosx_universal2:arm64"]
|
|
78
82
|
|
|
79
83
|
[tool.cibuildwheel.linux]
|
|
80
|
-
before-build =[
|
|
84
|
+
before-build =[
|
|
85
|
+
'yum install zip -y || apk add zip || true',
|
|
86
|
+
'pip install cmake ninja',
|
|
87
|
+
'cmake --version', 'git --version', 'ninja --version',
|
|
88
|
+
]
|
|
81
89
|
|
|
82
90
|
[tool.pytest.ini_options]
|
|
83
91
|
minversion = "6.0"
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
name: CD
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
workflow_dispatch:
|
|
5
|
-
push:
|
|
6
|
-
branches:
|
|
7
|
-
- master
|
|
8
|
-
release:
|
|
9
|
-
types:
|
|
10
|
-
- published
|
|
11
|
-
|
|
12
|
-
concurrency:
|
|
13
|
-
group: ${{ github.workflow }}-${{ github.ref }}
|
|
14
|
-
cancel-in-progress: true
|
|
15
|
-
|
|
16
|
-
env:
|
|
17
|
-
FORCE_COLOR: 3
|
|
18
|
-
|
|
19
|
-
jobs:
|
|
20
|
-
make_sdist:
|
|
21
|
-
name: Make SDist
|
|
22
|
-
runs-on: ubuntu-latest
|
|
23
|
-
steps:
|
|
24
|
-
- uses: actions/checkout@v4
|
|
25
|
-
with:
|
|
26
|
-
fetch-depth: 0
|
|
27
|
-
|
|
28
|
-
- name: Build SDist
|
|
29
|
-
run: pipx run build --sdist
|
|
30
|
-
|
|
31
|
-
- uses: actions/upload-artifact@v4
|
|
32
|
-
with:
|
|
33
|
-
name: cibw-sdist
|
|
34
|
-
path: dist/*.tar.gz
|
|
35
|
-
|
|
36
|
-
build_wheels:
|
|
37
|
-
name: Wheel on ${{ matrix.os }}
|
|
38
|
-
runs-on: ${{ matrix.os }}
|
|
39
|
-
strategy:
|
|
40
|
-
fail-fast: false
|
|
41
|
-
matrix:
|
|
42
|
-
os: [ubuntu-22.04, windows-2022, macos-14]
|
|
43
|
-
|
|
44
|
-
steps:
|
|
45
|
-
- uses: actions/checkout@v4
|
|
46
|
-
with:
|
|
47
|
-
fetch-depth: 0
|
|
48
|
-
|
|
49
|
-
- uses: pypa/cibuildwheel@v2.21
|
|
50
|
-
|
|
51
|
-
- name: Upload wheels
|
|
52
|
-
uses: actions/upload-artifact@v4
|
|
53
|
-
with:
|
|
54
|
-
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
|
|
55
|
-
path: wheelhouse/*.whl
|
|
56
|
-
|
|
57
|
-
upload_all:
|
|
58
|
-
needs: [build_wheels, make_sdist]
|
|
59
|
-
environment: pypi
|
|
60
|
-
permissions:
|
|
61
|
-
id-token: write
|
|
62
|
-
runs-on: ubuntu-latest
|
|
63
|
-
if: github.event_name == 'release' && github.event.action == 'published'
|
|
64
|
-
|
|
65
|
-
steps:
|
|
66
|
-
- uses: actions/download-artifact@v4
|
|
67
|
-
with:
|
|
68
|
-
pattern: cibw-*
|
|
69
|
-
path: dist
|
|
70
|
-
merge-multiple: true
|
|
71
|
-
|
|
72
|
-
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
73
|
-
env:
|
|
74
|
-
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
|
|
75
|
-
with:
|
|
76
|
-
password: ${{ secrets.PYPI_API_TOKEN }}
|
|
77
|
-
|
|
78
|
-
pages:
|
|
79
|
-
name: Deploy to GitHub Pages
|
|
80
|
-
runs-on: ubuntu-22.04
|
|
81
|
-
if: ${{ github.ref_name == github.event.repository.default_branch || (github.event_name == 'release' && github.event.action == 'published') }}
|
|
82
|
-
permissions:
|
|
83
|
-
contents: write
|
|
84
|
-
id-token: write
|
|
85
|
-
timeout-minutes: 15
|
|
86
|
-
|
|
87
|
-
steps:
|
|
88
|
-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
|
89
|
-
with:
|
|
90
|
-
token: ${{ secrets.GITHUB_TOKEN }}
|
|
91
|
-
ref: ${{ github.head_ref }}
|
|
92
|
-
|
|
93
|
-
- name: Cache
|
|
94
|
-
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
|
|
95
|
-
with:
|
|
96
|
-
path: |
|
|
97
|
-
~/vcpkg
|
|
98
|
-
~/.cache/pip
|
|
99
|
-
~/.cache/vcpkg
|
|
100
|
-
key: cd-pages-${{ hashFiles('vcpkg.json') }}
|
|
101
|
-
restore-keys: cd-pages-${{ hashFiles('vcpkg.json') }}
|
|
102
|
-
|
|
103
|
-
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5
|
|
104
|
-
with:
|
|
105
|
-
python-version: 3.x
|
|
106
|
-
|
|
107
|
-
- name: Build Docs
|
|
108
|
-
run: pipx run nox -s docs
|
|
109
|
-
|
|
110
|
-
- name: Deploy to GitHub Pages
|
|
111
|
-
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4
|
|
112
|
-
with:
|
|
113
|
-
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
114
|
-
publish_dir: ./docs/_build/html
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cppcheck-1.0.0 → cppcheck-1.0.3}/cmake/vcpkg/bootstrap/vcpkg_skip_install_on_reconfigure.cmake
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|