You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: fix release workflow build failures for musl, aarch64, and Windows targets
Resolve 3 platform build failures across the 6-target release matrix:
- Add `vendored-openssl` feature chain (spectre-cli -> spectre-core ->
prtip-scanner) enabling OpenSSL compilation from source via openssl-src
crate for environments without system OpenSSL (musl static linking,
aarch64 cross-compilation). Matrix entries for x86_64-unknown-linux-musl
and aarch64-unknown-linux-gnu now pass `--features vendored-openssl`
via conditional matrix expression.
- Add `LIB` env var for Windows pointing to Npcap SDK `Lib\x64` directory
so the MSVC linker can locate `Packet.lib` and `wpcap.lib` at build time.
- Make LICENSE copy conditional in both Unix (`if [ -f LICENSE ]`) and
Windows (`if (Test-Path LICENSE)`) packaging steps to prevent failures
when the file path varies. Split Windows `Copy-Item` into separate calls
for PowerShell compatibility.
- Add `CARGO_HOME` env var set to `${{ github.workspace }}/.cargo` for
consistent cargo behavior across CI runners.
Also updates CHANGELOG.md, CLAUDE.md (musl build command), and .gitignore
(.cargo/ directory from CARGO_HOME override).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
19
19
-**Unified asset upload step**: Single upload step per build job handles both `.tar.gz` (Unix) and `.zip` (Windows) with `fail_on_unmatched_files: false` so each platform only uploads its own format without failing on the other's missing archive
20
20
-**Added `SPECTRE.sln` to `.gitignore`**: Visual Studio solution files (`.sln`, `.suo`, `.user`, etc.) now excluded from version control
-**Fixed Windows Npcap SDK linker failure**: Added `LIB` environment variable pointing to `npcap-sdk\Lib\x64` directory so the MSVC linker can find `Packet.lib` and `wpcap.lib`
31
+
-**Conditional LICENSE packaging**: `cp LICENSE dist/` replaced with `if [ -f LICENSE ]; then cp LICENSE dist/; fi` (Unix) and `if (Test-Path LICENSE) { Copy-Item LICENSE dist/ }` (Windows) to avoid build failures when LICENSE file path varies
32
+
-**Windows PowerShell packaging fix**: Split single `Copy-Item README.md, LICENSE, CHANGELOG.md dist/` into separate `Copy-Item` calls for PowerShell compatibility
33
+
-**Added `CARGO_HOME` env var**: Set to `${{ github.workspace }}/.cargo` for consistent cargo behavior across CI runners
0 commit comments