wirestead 0.9.0__tar.gz → 0.9.2__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.
- wirestead-0.9.2/.github/workflows/ci.yml +355 -0
- {wirestead-0.9.0 → wirestead-0.9.2}/.github/workflows/release.yml +206 -55
- wirestead-0.9.2/.github/workflows/vcpkg-baseline-sync.yml +107 -0
- wirestead-0.9.2/CHANGELOG.md +143 -0
- {wirestead-0.9.0 → wirestead-0.9.2}/CMakeLists.txt +23 -3
- wirestead-0.9.0/README.md → wirestead-0.9.2/PKG-INFO +72 -0
- wirestead-0.9.0/PKG-INFO → wirestead-0.9.2/README.md +43 -22
- wirestead-0.9.2/VCPKG_BASELINE +1 -0
- wirestead-0.9.2/WIRESTEAD_CORE_REF +1 -0
- {wirestead-0.9.0 → wirestead-0.9.2}/bindings/python/module.cpp.in +128 -21
- {wirestead-0.9.0 → wirestead-0.9.2}/cmake/FindOrBuildWiresteadCore.cmake +38 -1
- {wirestead-0.9.0 → wirestead-0.9.2}/docs/compatibility.md +6 -3
- {wirestead-0.9.0 → wirestead-0.9.2}/docs/installation.md +20 -0
- wirestead-0.9.2/docs/release.md +177 -0
- {wirestead-0.9.0 → wirestead-0.9.2}/pyproject.toml +17 -6
- wirestead-0.9.2/scripts/consumer_smoke.py +246 -0
- wirestead-0.9.2/scripts/run_wheel_consumer_smoke.py +104 -0
- {wirestead-0.9.0 → wirestead-0.9.2}/scripts/verify.sh +1 -1
- {wirestead-0.9.0 → wirestead-0.9.2}/src/wirestead/__init__.py +6 -1
- wirestead-0.9.2/src/wirestead/_version.py +1 -0
- {wirestead-0.9.0 → wirestead-0.9.2}/tests/conftest.py +2 -3
- {wirestead-0.9.0 → wirestead-0.9.2}/tests/test_asyncio_uds.py +23 -9
- wirestead-0.9.2/tests/test_import.py +8 -0
- wirestead-0.9.2/tests/test_project_metadata.py +35 -0
- wirestead-0.9.2/tests/test_tcp_loopback.py +100 -0
- wirestead-0.9.0/tests/test_tcp_loopback.py → wirestead-0.9.2/tests/test_udp_loopback.py +22 -22
- {wirestead-0.9.0 → wirestead-0.9.2}/tests/test_uds_loopback.py +29 -24
- {wirestead-0.9.0 → wirestead-0.9.2}/vcpkg.json +1 -1
- wirestead-0.9.0/.github/workflows/ci.yml +0 -220
- wirestead-0.9.0/CHANGELOG.md +0 -70
- wirestead-0.9.0/docs/release.md +0 -98
- wirestead-0.9.0/src/wirestead/_version.py +0 -1
- wirestead-0.9.0/tests/test_import.py +0 -5
- {wirestead-0.9.0 → wirestead-0.9.2}/.clang-format +0 -0
- {wirestead-0.9.0 → wirestead-0.9.2}/.cmake-format.py +0 -0
- {wirestead-0.9.0 → wirestead-0.9.2}/.github/dependabot.yml +0 -0
- {wirestead-0.9.0 → wirestead-0.9.2}/.github/pull_request_template.md +0 -0
- {wirestead-0.9.0 → wirestead-0.9.2}/.github/workflows/code-formatting.yml +0 -0
- {wirestead-0.9.0 → wirestead-0.9.2}/.gitignore +0 -0
- {wirestead-0.9.0 → wirestead-0.9.2}/CONTRIBUTING.md +0 -0
- {wirestead-0.9.0 → wirestead-0.9.2}/LICENSE +0 -0
- {wirestead-0.9.0 → wirestead-0.9.2}/NOTICE +0 -0
- {wirestead-0.9.0 → wirestead-0.9.2}/bindings/python/diagnose_windows_import.py +0 -0
- {wirestead-0.9.0 → wirestead-0.9.2}/docs/api.md +0 -0
- {wirestead-0.9.0 → wirestead-0.9.2}/docs/packaging.md +0 -0
- {wirestead-0.9.0 → wirestead-0.9.2}/docs/packet-probe-viewer-ipc.md +0 -0
- {wirestead-0.9.0 → wirestead-0.9.2}/src/wirestead/asyncio.py +0 -0
- {wirestead-0.9.0 → wirestead-0.9.2}/src/wirestead/py.typed +0 -0
- {wirestead-0.9.0 → wirestead-0.9.2}/tests/test_api_surface.py +0 -0
|
@@ -0,0 +1,355 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
concurrency:
|
|
4
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
5
|
+
cancel-in-progress: true
|
|
6
|
+
|
|
7
|
+
on:
|
|
8
|
+
push:
|
|
9
|
+
branches: [main, develop]
|
|
10
|
+
pull_request:
|
|
11
|
+
branches: [main, develop]
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
build-test:
|
|
15
|
+
strategy:
|
|
16
|
+
fail-fast: false
|
|
17
|
+
matrix:
|
|
18
|
+
os: [ubuntu-24.04, macos-15, windows-2022]
|
|
19
|
+
python-version: ["3.10", "3.11", "3.12", "3.13"]
|
|
20
|
+
|
|
21
|
+
runs-on: ${{ matrix.os }}
|
|
22
|
+
|
|
23
|
+
env:
|
|
24
|
+
CMAKE_BUILD_PARALLEL_LEVEL: "2"
|
|
25
|
+
|
|
26
|
+
steps:
|
|
27
|
+
- name: Checkout Wirestead Python
|
|
28
|
+
uses: actions/checkout@v7
|
|
29
|
+
|
|
30
|
+
- name: Read Wirestead core ref
|
|
31
|
+
id: core-ref
|
|
32
|
+
shell: bash
|
|
33
|
+
run: echo "ref=$(cat WIRESTEAD_CORE_REF)" >> "$GITHUB_OUTPUT"
|
|
34
|
+
|
|
35
|
+
- name: Checkout Wirestead core
|
|
36
|
+
uses: actions/checkout@v7
|
|
37
|
+
with:
|
|
38
|
+
repository: wirestead/wirestead
|
|
39
|
+
ref: ${{ steps.core-ref.outputs.ref }}
|
|
40
|
+
path: wirestead-core
|
|
41
|
+
|
|
42
|
+
- name: Set up Python
|
|
43
|
+
uses: actions/setup-python@v7
|
|
44
|
+
with:
|
|
45
|
+
python-version: ${{ matrix.python-version }}
|
|
46
|
+
|
|
47
|
+
- name: Install Python build deps
|
|
48
|
+
run: |
|
|
49
|
+
python -m pip install -U pip
|
|
50
|
+
python -m pip install "pytest>=8,<10" pytest-asyncio build scikit-build-core "pybind11>=2.13,<3"
|
|
51
|
+
|
|
52
|
+
- name: Install system deps on Linux
|
|
53
|
+
if: runner.os == 'Linux'
|
|
54
|
+
run: |
|
|
55
|
+
sudo apt-get update
|
|
56
|
+
sudo apt-get install -y build-essential cmake ninja-build libboost-system-dev libboost-thread-dev libspdlog-dev
|
|
57
|
+
|
|
58
|
+
- name: Install system deps on macOS
|
|
59
|
+
if: runner.os == 'macOS'
|
|
60
|
+
run: |
|
|
61
|
+
brew install cmake ninja
|
|
62
|
+
|
|
63
|
+
- name: Read vcpkg baseline
|
|
64
|
+
id: vcpkg-baseline
|
|
65
|
+
shell: bash
|
|
66
|
+
run: echo "sha=$(cat VCPKG_BASELINE)" >> "$GITHUB_OUTPUT"
|
|
67
|
+
|
|
68
|
+
- name: Checkout vcpkg
|
|
69
|
+
if: runner.os == 'macOS' || runner.os == 'Windows'
|
|
70
|
+
uses: actions/checkout@v7
|
|
71
|
+
with:
|
|
72
|
+
repository: microsoft/vcpkg
|
|
73
|
+
ref: ${{ steps.vcpkg-baseline.outputs.sha }}
|
|
74
|
+
path: vcpkg
|
|
75
|
+
|
|
76
|
+
- name: Cache vcpkg packages
|
|
77
|
+
if: runner.os == 'macOS' || runner.os == 'Windows'
|
|
78
|
+
uses: actions/cache@v6
|
|
79
|
+
with:
|
|
80
|
+
path: |
|
|
81
|
+
vcpkg/buildtrees
|
|
82
|
+
vcpkg/downloads
|
|
83
|
+
vcpkg/installed
|
|
84
|
+
vcpkg/packages
|
|
85
|
+
key: ${{ runner.os }}-vcpkg-${{ hashFiles('.github/workflows/ci.yml', 'VCPKG_BASELINE', 'vcpkg/builtin-baseline', 'vcpkg/ports/boost-asio/**', 'vcpkg/ports/boost-system/**') }}
|
|
86
|
+
restore-keys: |
|
|
87
|
+
${{ runner.os }}-vcpkg-
|
|
88
|
+
|
|
89
|
+
- name: Install vcpkg deps on macOS
|
|
90
|
+
if: runner.os == 'macOS'
|
|
91
|
+
run: |
|
|
92
|
+
./vcpkg/bootstrap-vcpkg.sh
|
|
93
|
+
./vcpkg/vcpkg install --classic boost-asio boost-system --triplet arm64-osx
|
|
94
|
+
|
|
95
|
+
- name: Install vcpkg deps on Windows
|
|
96
|
+
if: runner.os == 'Windows'
|
|
97
|
+
shell: pwsh
|
|
98
|
+
run: |
|
|
99
|
+
./vcpkg/bootstrap-vcpkg.bat
|
|
100
|
+
./vcpkg/vcpkg install --classic boost-asio boost-system --triplet x64-windows-static-md
|
|
101
|
+
|
|
102
|
+
- name: Build and install package on Linux
|
|
103
|
+
if: runner.os == 'Linux'
|
|
104
|
+
run: |
|
|
105
|
+
python -m pip install . \
|
|
106
|
+
--config-settings=cmake.define.WIRESTEAD_CORE_SOURCE_DIR=${{ github.workspace }}/wirestead-core
|
|
107
|
+
|
|
108
|
+
- name: Build and install package on macOS
|
|
109
|
+
if: runner.os == 'macOS'
|
|
110
|
+
run: |
|
|
111
|
+
python -m pip install . \
|
|
112
|
+
--config-settings=cmake.define.WIRESTEAD_CORE_SOURCE_DIR=${{ github.workspace }}/wirestead-core \
|
|
113
|
+
--config-settings=cmake.define.VCPKG_MANIFEST_MODE=OFF \
|
|
114
|
+
--config-settings=cmake.define.CMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake \
|
|
115
|
+
--config-settings=cmake.define.VCPKG_TARGET_TRIPLET=arm64-osx
|
|
116
|
+
|
|
117
|
+
- name: Build and install package on Windows
|
|
118
|
+
if: runner.os == 'Windows'
|
|
119
|
+
shell: pwsh
|
|
120
|
+
run: |
|
|
121
|
+
python -m pip install . `
|
|
122
|
+
"--config-settings=cmake.define.WIRESTEAD_CORE_SOURCE_DIR=${{ github.workspace }}/wirestead-core" `
|
|
123
|
+
"--config-settings=cmake.define.VCPKG_MANIFEST_MODE=OFF" `
|
|
124
|
+
"--config-settings=cmake.define.CMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake" `
|
|
125
|
+
"--config-settings=cmake.define.VCPKG_TARGET_TRIPLET=x64-windows-static-md"
|
|
126
|
+
|
|
127
|
+
- name: Import smoke
|
|
128
|
+
if: runner.os != 'Windows'
|
|
129
|
+
run: |
|
|
130
|
+
python -c "import wirestead; print(wirestead.__version__)"
|
|
131
|
+
|
|
132
|
+
- name: Import smoke on Windows
|
|
133
|
+
if: runner.os == 'Windows'
|
|
134
|
+
shell: pwsh
|
|
135
|
+
run: |
|
|
136
|
+
$site = python -c "import site; print(site.getsitepackages()[0])"
|
|
137
|
+
$vcpkgBin = "${{ github.workspace }}/vcpkg/installed/x64-windows-static-md/bin"
|
|
138
|
+
$vcRuntime = Get-ChildItem "${env:ProgramFiles}\Microsoft Visual Studio\2022\Enterprise\VC\Redist\MSVC\*\x64\Microsoft.VC*.CRT\msvcp140.dll" -ErrorAction SilentlyContinue | Sort-Object FullName -Descending | Select-Object -First 1
|
|
139
|
+
if (-not $vcRuntime) { throw "MSVC x64 runtime not found" }
|
|
140
|
+
$vcRuntimeBin = $vcRuntime.DirectoryName
|
|
141
|
+
Write-Host "Using VC runtime path: $vcRuntimeBin"
|
|
142
|
+
$env:WIRESTEAD_WINDOWS_DLL_DIRS = "$vcRuntimeBin;$vcpkgBin"
|
|
143
|
+
$env:PATH = "$vcRuntimeBin;$site;$site\wirestead;$vcpkgBin;$env:PATH"
|
|
144
|
+
$env:WIRESTEAD_INSTALL_PATH = $site
|
|
145
|
+
$env:WIRESTEAD_PACKAGE_PATH = $site
|
|
146
|
+
|
|
147
|
+
python -X faulthandler -c "import wirestead; print(wirestead.__version__)"
|
|
148
|
+
if ($LASTEXITCODE -ne 0) {
|
|
149
|
+
python bindings/python/diagnose_windows_import.py
|
|
150
|
+
exit 1
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
# Every other CI step installs test tooling unpinned, so nothing here
|
|
154
|
+
# exercises the `test` extra as a consumer would. That is how a
|
|
155
|
+
# `pytest-asyncio` floor with no distribution for a supported interpreter
|
|
156
|
+
# shipped once already. Resolve the installed package's own metadata for
|
|
157
|
+
# the running interpreter so a regression fails CI instead of reaching
|
|
158
|
+
# PyPI.
|
|
159
|
+
- name: Validate test extra resolves
|
|
160
|
+
if: runner.os == 'Linux'
|
|
161
|
+
run: |
|
|
162
|
+
python - <<'PY' > test-extra-requirements.txt
|
|
163
|
+
import importlib.metadata as md
|
|
164
|
+
from packaging.requirements import Requirement
|
|
165
|
+
|
|
166
|
+
for spec in md.requires("wirestead") or []:
|
|
167
|
+
req = Requirement(spec)
|
|
168
|
+
if req.marker and req.marker.evaluate({"extra": "test"}):
|
|
169
|
+
print(f"{req.name}{req.specifier}")
|
|
170
|
+
PY
|
|
171
|
+
echo "test extra for $(python -V 2>&1):"
|
|
172
|
+
cat test-extra-requirements.txt
|
|
173
|
+
test -s test-extra-requirements.txt
|
|
174
|
+
python -m pip install --dry-run --ignore-installed -r test-extra-requirements.txt
|
|
175
|
+
|
|
176
|
+
- name: Run tests
|
|
177
|
+
if: runner.os != 'Windows'
|
|
178
|
+
env:
|
|
179
|
+
WIRESTEAD_PYTHON_RUN_LOOPBACK_TESTS: "1"
|
|
180
|
+
PYTEST_DISABLE_PLUGIN_AUTOLOAD: "1"
|
|
181
|
+
run: |
|
|
182
|
+
python -m pytest -q -p pytest_asyncio.plugin -m "not serial"
|
|
183
|
+
|
|
184
|
+
- name: Run tests on Windows
|
|
185
|
+
if: runner.os == 'Windows'
|
|
186
|
+
shell: pwsh
|
|
187
|
+
env:
|
|
188
|
+
WIRESTEAD_PYTHON_RUN_LOOPBACK_TESTS: "1"
|
|
189
|
+
PYTEST_DISABLE_PLUGIN_AUTOLOAD: "1"
|
|
190
|
+
run: |
|
|
191
|
+
$site = python -c "import site; print(site.getsitepackages()[0])"
|
|
192
|
+
$vcpkgBin = "${{ github.workspace }}/vcpkg/installed/x64-windows-static-md/bin"
|
|
193
|
+
$vcRuntime = Get-ChildItem "${env:ProgramFiles}\Microsoft Visual Studio\2022\Enterprise\VC\Redist\MSVC\*\x64\Microsoft.VC*.CRT\msvcp140.dll" -ErrorAction SilentlyContinue | Sort-Object FullName -Descending | Select-Object -First 1
|
|
194
|
+
if (-not $vcRuntime) { throw "MSVC x64 runtime not found" }
|
|
195
|
+
$vcRuntimeBin = $vcRuntime.DirectoryName
|
|
196
|
+
Write-Host "Using VC runtime path: $vcRuntimeBin"
|
|
197
|
+
$env:WIRESTEAD_WINDOWS_DLL_DIRS = "$vcRuntimeBin;$vcpkgBin"
|
|
198
|
+
$env:PATH = "$vcRuntimeBin;$site;$site\wirestead;$vcpkgBin;$env:PATH"
|
|
199
|
+
$env:WIRESTEAD_INSTALL_PATH = $site
|
|
200
|
+
$env:WIRESTEAD_PACKAGE_PATH = $site
|
|
201
|
+
|
|
202
|
+
python -X faulthandler -m pytest -q -p pytest_asyncio.plugin -m "not serial"
|
|
203
|
+
|
|
204
|
+
sdist:
|
|
205
|
+
name: Source distribution
|
|
206
|
+
runs-on: ubuntu-24.04
|
|
207
|
+
timeout-minutes: 30
|
|
208
|
+
|
|
209
|
+
env:
|
|
210
|
+
CMAKE_BUILD_PARALLEL_LEVEL: "2"
|
|
211
|
+
|
|
212
|
+
steps:
|
|
213
|
+
- name: Checkout Wirestead Python
|
|
214
|
+
uses: actions/checkout@v7
|
|
215
|
+
|
|
216
|
+
- name: Read Wirestead core ref
|
|
217
|
+
id: core-ref
|
|
218
|
+
shell: bash
|
|
219
|
+
run: echo "ref=$(cat WIRESTEAD_CORE_REF)" >> "$GITHUB_OUTPUT"
|
|
220
|
+
|
|
221
|
+
- name: Checkout Wirestead core
|
|
222
|
+
uses: actions/checkout@v7
|
|
223
|
+
with:
|
|
224
|
+
repository: wirestead/wirestead
|
|
225
|
+
ref: ${{ steps.core-ref.outputs.ref }}
|
|
226
|
+
path: wirestead-core
|
|
227
|
+
|
|
228
|
+
- name: Set up Python
|
|
229
|
+
uses: actions/setup-python@v7
|
|
230
|
+
with:
|
|
231
|
+
python-version: "3.12"
|
|
232
|
+
|
|
233
|
+
- name: Install system deps
|
|
234
|
+
run: |
|
|
235
|
+
sudo apt-get update
|
|
236
|
+
sudo apt-get install -y build-essential cmake ninja-build libboost-system-dev libboost-thread-dev libspdlog-dev
|
|
237
|
+
|
|
238
|
+
- name: Build source distribution
|
|
239
|
+
run: |
|
|
240
|
+
python -m pip install -U pip
|
|
241
|
+
python -m pip install build scikit-build-core "pybind11>=2.13,<3"
|
|
242
|
+
python -m build --sdist --no-isolation
|
|
243
|
+
|
|
244
|
+
# The sdist is published to PyPI and is what pip falls back to on any
|
|
245
|
+
# platform without a wheel, but nothing else in CI installs it, so a file
|
|
246
|
+
# missing from the sdist would only surface for users. Build it, then
|
|
247
|
+
# install it as a consumer would with a core supplied.
|
|
248
|
+
- name: Install from sdist against core source
|
|
249
|
+
run: |
|
|
250
|
+
python -m pip install dist/*.tar.gz --no-build-isolation \
|
|
251
|
+
--config-settings=cmake.define.WIRESTEAD_CORE_SOURCE_DIR=${{ github.workspace }}/wirestead-core
|
|
252
|
+
|
|
253
|
+
- name: Import smoke
|
|
254
|
+
run: |
|
|
255
|
+
cd "$(mktemp -d)"
|
|
256
|
+
python -c "import wirestead; print(wirestead.__version__)"
|
|
257
|
+
|
|
258
|
+
# A source build with no core is a supported outcome, but it must explain
|
|
259
|
+
# itself instead of surfacing a bare find_package failure.
|
|
260
|
+
- name: Source build without a core reports actionable guidance
|
|
261
|
+
run: |
|
|
262
|
+
python -m pip uninstall -y wirestead
|
|
263
|
+
if python -m pip install dist/*.tar.gz --no-build-isolation \
|
|
264
|
+
--no-cache-dir > sdist-nocore.log 2>&1; then
|
|
265
|
+
echo "expected the coreless source build to fail, but it succeeded"
|
|
266
|
+
exit 1
|
|
267
|
+
fi
|
|
268
|
+
grep -q "No Wirestead C++ core was found" sdist-nocore.log
|
|
269
|
+
grep -q "WIRESTEAD_CORE_SOURCE_DIR" sdist-nocore.log
|
|
270
|
+
echo "coreless source build failed with guidance, as intended"
|
|
271
|
+
|
|
272
|
+
vcpkg-core:
|
|
273
|
+
name: vcpkg core
|
|
274
|
+
runs-on: ubuntu-24.04
|
|
275
|
+
timeout-minutes: 30
|
|
276
|
+
|
|
277
|
+
env:
|
|
278
|
+
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
|
|
279
|
+
|
|
280
|
+
steps:
|
|
281
|
+
- name: Checkout Wirestead Python
|
|
282
|
+
uses: actions/checkout@v7
|
|
283
|
+
|
|
284
|
+
- name: Read vcpkg baseline
|
|
285
|
+
id: vcpkg-baseline
|
|
286
|
+
shell: bash
|
|
287
|
+
run: echo "sha=$(cat VCPKG_BASELINE)" >> "$GITHUB_OUTPUT"
|
|
288
|
+
|
|
289
|
+
- name: Checkout vcpkg
|
|
290
|
+
uses: actions/checkout@v7
|
|
291
|
+
with:
|
|
292
|
+
repository: microsoft/vcpkg
|
|
293
|
+
ref: ${{ steps.vcpkg-baseline.outputs.sha }}
|
|
294
|
+
path: vcpkg
|
|
295
|
+
|
|
296
|
+
- name: Set up Python
|
|
297
|
+
uses: actions/setup-python@v7
|
|
298
|
+
with:
|
|
299
|
+
python-version: "3.12"
|
|
300
|
+
|
|
301
|
+
- name: Bootstrap vcpkg
|
|
302
|
+
run: ./vcpkg/bootstrap-vcpkg.sh
|
|
303
|
+
|
|
304
|
+
- name: Verify vcpkg package install
|
|
305
|
+
run: scripts/verify.sh --skip-source
|
|
306
|
+
|
|
307
|
+
installed-core:
|
|
308
|
+
name: Installed core
|
|
309
|
+
runs-on: ubuntu-24.04
|
|
310
|
+
timeout-minutes: 30
|
|
311
|
+
|
|
312
|
+
env:
|
|
313
|
+
WIRESTEAD_INSTALL_PREFIX: /tmp/wirestead-prefix
|
|
314
|
+
|
|
315
|
+
steps:
|
|
316
|
+
- name: Checkout Wirestead Python
|
|
317
|
+
uses: actions/checkout@v7
|
|
318
|
+
|
|
319
|
+
- name: Read Wirestead core ref
|
|
320
|
+
id: core-ref
|
|
321
|
+
shell: bash
|
|
322
|
+
run: echo "ref=$(cat WIRESTEAD_CORE_REF)" >> "$GITHUB_OUTPUT"
|
|
323
|
+
|
|
324
|
+
- name: Checkout Wirestead core
|
|
325
|
+
uses: actions/checkout@v7
|
|
326
|
+
with:
|
|
327
|
+
repository: wirestead/wirestead
|
|
328
|
+
ref: ${{ steps.core-ref.outputs.ref }}
|
|
329
|
+
path: wirestead-core
|
|
330
|
+
|
|
331
|
+
- name: Set up Python
|
|
332
|
+
uses: actions/setup-python@v7
|
|
333
|
+
with:
|
|
334
|
+
python-version: "3.12"
|
|
335
|
+
|
|
336
|
+
- name: Install system deps
|
|
337
|
+
run: |
|
|
338
|
+
sudo apt-get update
|
|
339
|
+
sudo apt-get install -y build-essential cmake ninja-build libboost-system-dev libboost-thread-dev libspdlog-dev
|
|
340
|
+
|
|
341
|
+
- name: Configure Wirestead core
|
|
342
|
+
run: >
|
|
343
|
+
cmake -S wirestead-core -B build-wirestead-install
|
|
344
|
+
-DCMAKE_INSTALL_PREFIX=$WIRESTEAD_INSTALL_PREFIX
|
|
345
|
+
-DWIRESTEAD_BUILD_TESTS=OFF
|
|
346
|
+
-DWIRESTEAD_BUILD_DOCS=OFF
|
|
347
|
+
|
|
348
|
+
- name: Build Wirestead core
|
|
349
|
+
run: cmake --build build-wirestead-install --parallel
|
|
350
|
+
|
|
351
|
+
- name: Install Wirestead core
|
|
352
|
+
run: cmake --install build-wirestead-install
|
|
353
|
+
|
|
354
|
+
- name: Verify installed package install
|
|
355
|
+
run: scripts/verify.sh --skip-source --skip-vcpkg --installed-prefix $WIRESTEAD_INSTALL_PREFIX
|