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

+48 -5
View File
@@ -413,7 +413,47 @@ jobs:
with:
name: vbs-windows-build-${{ matrix.variant }}
path: build/windows-${{ matrix.variant }}
- name: Test and package with MSYS2 UCRT64
- name: Test with MSYS2 UCRT64
shell: cmd
env:
VBS_MSYS2_ROOT: ${{ vars.VBS_MSYS2_ROOT || 'C:\msys64' }}
run: |
@echo off
setlocal EnableExtensions
if not exist "%VBS_MSYS2_ROOT%\usr\bin\bash.exe" (
echo Windows CI: MSYS2 bash.exe was not found under VBS_MSYS2_ROOT. 1>&2
exit /b 1
)
set "MSYSTEM=UCRT64"
set "CHERE_INVOKING=1"
set "MSYS2_PATH_TYPE=strict"
"%VBS_MSYS2_ROOT%\usr\bin\bash.exe" --login -c 'cd "$(cygpath -u "$GITHUB_WORKSPACE")" && tr -d "\r" < .gitea/scripts/windows-native.sh | bash -s -- test ${{ matrix.variant }} ${{ matrix.build_type }}'
windows-package:
name: "4B · Windows package (${{ matrix.variant }})"
needs: windows-native-test
runs-on: windows-x64
# Track C3 port in progress: keep the package lane non-blocking while the
# Windows native build is still being ported (Void/Library issue #65).
continue-on-error: true
strategy:
fail-fast: false
matrix:
include:
- variant: debug
build_type: Debug
- variant: relwithdebinfo
build_type: RelWithDebInfo
- variant: sanitizers
build_type: Debug
steps:
- uses: actions/checkout@v4
- name: Download the build
uses: actions/download-artifact@v3
with:
name: vbs-windows-build-${{ matrix.variant }}
path: build/windows-${{ matrix.variant }}
- name: Package with MSYS2 UCRT64
shell: cmd
env:
VBS_MSYS2_ROOT: ${{ vars.VBS_MSYS2_ROOT || 'C:\msys64' }}
@@ -428,7 +468,7 @@ jobs:
set "MSYSTEM=UCRT64"
set "CHERE_INVOKING=1"
set "MSYS2_PATH_TYPE=strict"
"%VBS_MSYS2_ROOT%\usr\bin\bash.exe" --login -c 'cd "$(cygpath -u "$GITHUB_WORKSPACE")" && tr -d "\r" < .gitea/scripts/windows-native.sh | bash -s -- test ${{ matrix.variant }} ${{ matrix.build_type }}'
"%VBS_MSYS2_ROOT%\usr\bin\bash.exe" --login -c 'cd "$(cygpath -u "$GITHUB_WORKSPACE")" && tr -d "\r" < .gitea/scripts/windows-native.sh | bash -s -- package ${{ matrix.variant }} ${{ matrix.build_type }}'
- name: Upload the Windows package
if: always()
uses: actions/upload-artifact@v3
@@ -443,9 +483,11 @@ jobs:
# ---------------------------------------------------------------------------
release:
name: "5 · Release"
# Links every package lane: any package failure blocks the release.
# Linked to every package lane. always() keeps the release runnable while the
# Windows native port is unfinished (2C/3C are red until Track C3); drop it
# to make a Windows package failure block the release.
needs: [linux-package, windows-package]
if: startsWith(github.ref, 'refs/tags/v') || github.event.inputs.publish == 'true'
if: always() && (startsWith(github.ref, 'refs/tags/v') || github.event.inputs.publish == 'true')
runs-on: echoion-release-serial
steps:
- uses: actions/checkout@v4
@@ -454,7 +496,8 @@ jobs:
with:
name: vbs-linux-package-relwithdebinfo
path: dist
- name: Download the RelWithDebInfo Windows package
- name: Download the RelWithDebInfo Windows package (when available)
continue-on-error: true
uses: actions/download-artifact@v3
with:
name: vbs-windows-package-relwithdebinfo