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

+61 -2
View File
@@ -216,6 +216,60 @@ jobs:
path: dist-linux-${{ matrix.variant }}/
retention-days: 30
# ---------------------------------------------------------------------------
# 4A2 - the release installers, built and packaged by VBS itself
# ---------------------------------------------------------------------------
vbs-installers:
name: "4A2 · VBS installers (self-hosted)"
needs: linux-test
runs-on: vulkan
steps:
- uses: actions/checkout@v4
- name: Download the RelWithDebInfo build
uses: actions/download-artifact@v3
with:
name: vbs-linux-build-relwithdebinfo
path: build/linux-relwithdebinfo
- name: Make the restored binaries executable
run: chmod +x build/linux-relwithdebinfo/bin/*
- name: Build and package every installer format with VBS
run: |
set -eu
vbs=build/linux-relwithdebinfo/bin/vbs
version="$(sed -nE 's/^project\(VoidBuildSystem VERSION ([0-9.]+).*/\1/p' CMakeLists.txt)"
label="${{ github.event.inputs.tag }}"
if [ -z "${label}" ]; then
case "${GITHUB_REF_NAME}" in
v*) label="${GITHUB_REF_NAME}" ;;
*) label="dev-$(printf '%s' "${GITHUB_SHA}" | cut -c1-7)" ;;
esac
fi
out=dist-installers
prefix="$(mktemp -d)"
mkdir -p "${out}"
# The first install builds the project with VBS (build.cpp); the rest reuse
# the shared build directory.
for fmt in tar sh zip deb rpm wix dmg nuget; do
case "${fmt}" in
tar) ext=tar ;;
wix) ext=wxs ;;
nuget) ext=nupkg ;;
*) ext="${fmt}" ;;
esac
"${vbs}" install --project . --build-dir build/selfhost --profile release \
--prefix "${prefix}" --package-name VoidBuildSystem \
--package-version "${version}" \
--archive "${out}/vbs-${label}-linux-x86_64-${fmt}.${ext}" \
--archive-format "${fmt}"
done
ls -l "${out}/"
- name: Upload the installers
uses: actions/upload-artifact@v3
with:
name: vbs-installers
path: dist-installers/
retention-days: 30
# ---------------------------------------------------------------------------
# 2B / 3B / 4B - Windows via Wine: VBS is cross-compiled with MinGW-w64, its
# test executables run under Wine, and the Windows binaries are packaged.
@@ -370,9 +424,9 @@ jobs:
# ---------------------------------------------------------------------------
release:
name: "5 · Release"
# Linked to both package lanes and only dispatched for a release tag or an
# Linked to every package lane and only dispatched for a release tag or an
# explicit publish dispatch (always() would queue the job on every push).
needs: [linux-package, wine-package]
needs: [linux-package, wine-package, vbs-installers]
if: startsWith(github.ref, 'refs/tags/v') || github.event.inputs.publish == 'true'
runs-on: vulkan
steps:
@@ -388,6 +442,11 @@ jobs:
with:
name: vbs-windows-package-relwithdebinfo
path: dist
- name: Download the VBS installers
uses: actions/download-artifact@v3
with:
name: vbs-installers
path: dist
- name: Verify the tag matches the project version
run: |
tag="${{ github.event.inputs.tag }}"