feat(install): generate ZIP and Debian packages
This commit is contained in:
1 parent
a808596462
commit
9509c0691e
8 files changed
+345
-14
No files matched your search
@@ -1369,6 +1369,26 @@ dev cpp-gcc -p pkgsCross.mingwW64.stdenv.cc -p wine64 -c build/pinned/bin/vbs_v1
|
||||
(8.91 s); it skips when MinGW or Wine is absent.
|
||||
- Full CTest: **8 / 8 passed** in 279.16 s.
|
||||
|
||||
## Package Generators: Stored ZIP & DEB (GCC 16.2, pin `0002e74`)
|
||||
|
||||
```sh
|
||||
dev cpp-gcc -c cmake --build build/pinned --parallel 8
|
||||
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --filter foreign_cmake_meson_providers_bridge_and_relocatable_install --no-color
|
||||
dev cpp-gcc -p dpkg -c sh -c 'dpkg-deb --info cli_hi.deb; dpkg-deb --contents cli_hi.deb'
|
||||
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
|
||||
```
|
||||
|
||||
- `--archive-format zip` produces a stored ZIP containing `bin/cli_hi` and
|
||||
`share/vbs/CliHiPkg/package.json` with valid local-header/EOCD signatures.
|
||||
- `--archive-format deb` produces an `ar` package whose first member is `debian-binary` (`2.0\n`),
|
||||
followed by `control.tar` and `data.tar`; the test extracts both and checks the control fields
|
||||
and `bin/cli_hi`.
|
||||
- External validation with real Debian tooling (`dpkg-deb` from `dev cpp-gcc -p dpkg`):
|
||||
`--info` reports `Package: CliHiPkg`, `Version: 0.1.0`, `Architecture: amd64`, and the
|
||||
Maintainer/Installed-Size fields; `--contents` lists `bin/cli_hi`, the CMake config files, and
|
||||
the native package metadata.
|
||||
- Install test: **passed** (6.45 s); full CTest: **8 / 8 passed** in 282.16 s.
|
||||
|
||||
## Limits and Unrun Checks
|
||||
|
||||
1. **HTTPS git fetch**: the host shell is proxy-restricted, but the Docker container could clone `https://git.faumaray.com/Void/VoidLibrary.git`; the pinned commit `3e254055e081a104f08df68dde39711bc7813518` was fetched directly for the verification above. A separate configure against the local `/home/faumaray/Projects/Library` checkout via `VBS_VOID_SOURCE_DIR` also succeeded (development-only override, checkout unmodified).
|
||||
|
||||
Reference in new issue
Block a user