feat: Enhance Windows build and release workflows with packaging and validation for CUDA runtime libraries
Some checks failed
Build Windows Avalonia / build (push) Failing after 2m26s

This commit is contained in:
Maddo 2026-12-03 20:06:06 +01:00
commit a883daf068
4 changed files with 107 additions and 20 deletions

View file

@ -71,6 +71,8 @@ jobs:
- name: Publish Windows Avalonia build
run: |
set -eu
publish_dir="${GITHUB_WORKSPACE}/${{ env.PUBLISH_DIR }}"
rm -rf "${publish_dir}"
dotnet publish "${{ env.PROJECT_PATH }}" \
-c Release \
-r win-x64 \
@ -80,7 +82,7 @@ jobs:
-p:PublishSingleFile=true \
-p:PublishTrimmed=false \
-p:PublishReadyToRun=false \
-o "${{ env.PUBLISH_DIR }}"
-o "${publish_dir}"
- name: Validate published executable
run: |
@ -98,6 +100,13 @@ jobs:
exit 1
fi
- name: Validate AI runtime libraries
run: |
set -eu
dotnet msbuild "${{ env.PROJECT_PATH }}" \
-target:ValidateWindowsCatalogPublishOutput \
-p:PublishDir="${GITHUB_WORKSPACE}/${{ env.PUBLISH_DIR }}"
- name: Upload publish artifact
uses: actions/upload-artifact@v3
with: