ci: add the missing Windows package job
VoidBuildSystem CI / 1 · Requirements (push) Successful in 13s
VoidBuildSystem CI / 2C · Windows native build (debug) (push) Failing after 18s
VoidBuildSystem CI / 2C · Windows native build (sanitizers) (push) Failing after 13s
VoidBuildSystem CI / 2C · Windows native build (relwithdebinfo) (push) Failing after 13s
VoidBuildSystem CI / 2A · Linux build (debug) (push) Canceled after 4m1s
VoidBuildSystem CI / 3A · Linux test (debug) (push) Canceled after 0s
VoidBuildSystem CI / 3A · Linux test (relwithdebinfo) (push) Canceled after 0s
VoidBuildSystem CI / 3A · Linux test (sanitizers) (push) Canceled after 0s
VoidBuildSystem CI / 4A · Linux package (debug) (push) Canceled after 0s
VoidBuildSystem CI / 4A · Linux package (relwithdebinfo) (push) Canceled after 0s
VoidBuildSystem CI / 4A · Linux package (sanitizers) (push) Canceled after 0s
VoidBuildSystem CI / 2B · Windows Wine build (relwithdebinfo) (push) Canceled after 0s
VoidBuildSystem CI / 2B · Windows Wine build (sanitizers) (push) Canceled after 0s
VoidBuildSystem CI / 2A · Linux build (relwithdebinfo) (push) Canceled after 3m44s
VoidBuildSystem CI / 3B · Windows Wine test (debug) (push) Canceled after 0s
VoidBuildSystem CI / 3B · Windows Wine test (relwithdebinfo) (push) Canceled after 0s
VoidBuildSystem CI / 3B · Windows Wine test (sanitizers) (push) Canceled after 0s
VoidBuildSystem CI / 3C · Windows native test (relwithdebinfo) (push) Canceled after 0s
VoidBuildSystem CI / 3C · Windows native test (sanitizers) (push) Canceled after 0s
VoidBuildSystem CI / 4B · Windows package (debug) (push) Canceled after 0s
VoidBuildSystem CI / 3C · Windows native test (debug) (push) Canceled after 3m16s
VoidBuildSystem CI / 4B · Windows package (relwithdebinfo) (push) Canceled after 0s
VoidBuildSystem CI / 4B · Windows package (sanitizers) (push) Canceled after 0s
VoidBuildSystem CI / 5 · Release (push) Skipped
VoidBuildSystem CI / 2A · Linux build (sanitizers) (push) Canceled after 4m11s
VoidBuildSystem CI / 2B · Windows Wine build (debug) (push) Canceled after 2m7s

`release` needed `windows-package`, which did not exist, so Gitea
rejected the whole workflow (run with no jobs). Add `4B · Windows
package` after the Windows native tests: it restores the build, creates
the RelWithDebInfo/Debug/Sanitizers packages and uploads them. The
windows-native script now has separate build, test and package phases.

While the Windows native port is unfinished the package lane stays
non-blocking and `release` runs with always(); remove those two bits to
make a Windows failure block the release.
This commit is contained in:
faumaray committed 2026-12-05 15:48:02 +03:00
1 parent 8b391af480
commit 95801ccfd7
2 files changed
+54 -9

No files matched your search

+6 -4
View File
@@ -1,8 +1,9 @@
#!/usr/bin/env bash
# Native Windows lane for one variant, driven inside MSYS2 UCRT64.
#
# windows-native.sh build <variant> <build_type> configure + build
# windows-native.sh test <variant> <build_type> test + package
# windows-native.sh build <variant> <build_type> configure + build
# windows-native.sh test <variant> <build_type> run CTest
# windows-native.sh package <variant> <build_type> package the build outputs
#
# Track C3 caveat: the VBS platform backends are Linux-only today and
# VoidLibrary does not qualify Archive/Configuration/Crypto/System for Windows
@@ -39,7 +40,8 @@ build)
;;
test)
ctest --test-dir "${build}" --output-on-failure --no-tests=error
;;
package)
out="dist-windows-${variant}"
label="${VBS_RELEASE_TAG:-}"
if [ -z "${label}" ]; then
@@ -59,7 +61,7 @@ test)
ls -l "${out}/"
;;
*)
echo "unknown phase '${phase}' (expected build or test)" >&2
echo "unknown phase '${phase}' (expected build, test or package)" >&2
exit 2
;;
esac