feat: 1.0.0 release built and packaged by VBS
VoidBuildSystem CI / 3A · Linux test (debug) (push) Successful in 5m42s
VoidBuildSystem CI / 1 · Requirements (push) Successful in 2s
VoidBuildSystem CI / 2A · Linux build (debug) (push) Successful in 2m22s
VoidBuildSystem CI / 2A · Linux build (sanitizers) (push) Successful in 2m59s
VoidBuildSystem CI / 2A · Linux build (relwithdebinfo) (push) Successful in 4m4s
VoidBuildSystem CI / 3A · Linux test (sanitizers) (push) Successful in 1m37s
VoidBuildSystem CI / 2B · Windows Wine build (debug) (push) Successful in 1m36s
VoidBuildSystem CI / 2B · Windows Wine build (relwithdebinfo) (push) Successful in 3m0s
VoidBuildSystem CI / 3B · Windows Wine test (debug) (push) Successful in 16s
VoidBuildSystem CI / 3B · Windows Wine test (relwithdebinfo) (push) Successful in 16s
VoidBuildSystem CI / 4B · Windows package (debug) (push) Successful in 19s
VoidBuildSystem CI / 4B · Windows package (relwithdebinfo) (push) Successful in 28s
VoidBuildSystem CI / 3A · Linux test (relwithdebinfo) (push) Successful in 5m46s
VoidBuildSystem CI / 4A · Linux package (debug) (push) Successful in 1m39s
VoidBuildSystem CI / 4A2 · VBS installers (self-hosted) (push) Failing after 1m42s
VoidBuildSystem CI / 4A · Linux package (relwithdebinfo) (push) Successful in 1m52s
VoidBuildSystem CI / 4A · Linux package (sanitizers) (push) Successful in 1m56s
VoidBuildSystem CI / 5 · Release (push) Skipped

- Bump the project version to 1.0.0 (CMake and the VBS description).
- vbs install now imports declared dependencies before lowering
  (previously it ignored providers entirely, so any project with an
  external dependency could not be installed).
- Native providers export plain option names alongside
  VBS_DEP_OPTION_* because dependencies such as VoidLibrary read
  VOID_ENABLED_MODULES directly.
- The VBS description disables VoidLibrary's own test executables and
  keeps the entry points out of the core library glob, which lets the
  self-hosted build link.
- CI gains 4A2: builds VBS with VBS and packages tar/sh/zip/deb/rpm/
  wix/dmg/nuget installers, which the release publishes.

Verified locally: the self-hosted build and all eight installer
formats succeed; the tar contains vbs, vbs-registry, the CMake export
and package metadata.
This commit is contained in:
faumaray committed 2026-12-06 08:40:16 +03:00
1 parent c8eb950ca0
commit 0186711a90
5 files changed
+174 -12

No files matched your search

+9 -2
View File
@@ -9,6 +9,9 @@ void build(Void::Build::Project &project) {
Void::Build::Commit{"de1fdcda72ddd6ac069fba433b13f643327efa3f"})
.native_builder({{"VOID_ENABLED_MODULES",
"Configuration;Text;Unicode;Async;Algorithms;Crypto;Archive;Testing;Log"},
// Only the Testing library is needed, not VoidLibrary's own test
// executables (the CMake path sets VOID_ENABLE_TESTING=OFF too).
{"VOID_ENABLE_TESTING", "0"},
{"BUILD_SHARED_LIBS", false}});
// Source membership comes from conventions and globs, not explicit file lists:
@@ -24,8 +27,12 @@ void build(Void::Build::Project &project) {
}
auto core = project.static_library("VoidBuildCore");
// The entry points (src/Main.cpp, src/Describe.cpp) are not part of the core
// library: they define main() and Describe.cpp references the example
// description's build()/profiles(). Glob only the subdirectories.
core.cxx_standard(Void::Build::CxxStandard::Cxx26)
.sources(project.glob("src/**/*.cpp"))
.sources(project.glob("src/*/*.cpp"))
.sources(project.glob("src/*/*/*.cpp"))
.sources(project.glob("recipes/**/*.cpp"))
.include_directory("include", Void::Build::Visibility::Public)
.include_directory("recipes", Void::Build::Visibility::Public)
@@ -55,7 +62,7 @@ void build(Void::Build::Project &project) {
"#pragma once\n"
"#include <string_view>\n"
"namespace Void::Build::Bootstrap {\n"
"inline constexpr std::string_view version = \"0.1.0\";\n"
"inline constexpr std::string_view version = \"1.0.0\";\n"
"inline constexpr std::string_view os = \"" +
ctx.os +
"\";\n"