debug nsis

This commit is contained in:
tooomm
2026-07-26 23:10:56 +02:00
parent 1118c26a5c
commit ee1a7815e9
4 changed files with 14 additions and 6 deletions

View File

@@ -326,10 +326,12 @@ if [[ $USE_CCACHE == 1 ]]; then
ccache --show-config
echo " -----"
ccache --show-stats
ccache --show-compression
echo " -----"
ccache --zero-stats
echo " -----"
ccache --show-stats
ccache --show-compression
echo "::endgroup::"
fi

View File

@@ -47,6 +47,7 @@ echo "Renaming '$package' to '$package_new'"
mv "$package_path" "$package_path_new"
du -h "$package_path_new"
#TODO remove package_path as it's default working direcotry / repo root?
{
echo "package_path=$package_path_new" >> "$GITHUB_OUTPUT"
echo "package=$package_new" >> "$GITHUB_OUTPUT"

View File

@@ -227,7 +227,7 @@ jobs:
with:
archive: false
if-no-files-found: error
path: ${{ steps.build.outputs.package }} # package is resolved against workspace (container path /= host path)
path: ${{ steps.build.outputs.package }} # package is resolved against github.workspace
- name: "Upload to release"
id: upload_release
@@ -235,10 +235,10 @@ jobs:
shell: bash
env:
package: ${{ steps.build.outputs.package }}
package_path: ${{ steps.build.outputs.package_path }}
package_path: ${{ steps.build.outputs.package_path }} # <-- to check
GH_TOKEN: ${{ github.token }}
tag_name: ${{ needs.configure.outputs.tag }}
run: gh release upload "$tag_name" "$package_path#$package"
run: gh release upload "$tag_name" "$package_path#$package" # <-- to check
- name: "Attest binary provenance"
id: attestation
@@ -246,13 +246,13 @@ jobs:
uses: actions/attest@v4
with:
show-summary: false
subject-path: ${{ steps.build.outputs.package_path }}
subject-path: ${{ steps.build.outputs.package_path }} # <-- to check
- name: "Verify binary attestation"
if: steps.attestation.outcome == 'success'
shell: bash
env:
PACKAGE_PATH: ${{ steps.build.outputs.package_path }}
PACKAGE_PATH: ${{ steps.build.outputs.package_path }} # <-- to check
GH_TOKEN: ${{ github.token }}
run: gh attestation verify "$PACKAGE_PATH" --repo Cockatrice/Cockatrice
@@ -451,6 +451,11 @@ jobs:
VCPKG_BINARY_SOURCES: 'clear;files,${{ steps.vcpkg-cache.outputs.path }},readwrite'
VCPKG_DISABLE_METRICS: 1
run: .ci/compile.sh --server --test --vcpkg
continue-on-error: true
- name: "[Windows] DEBUG: Print NSIS log output"
if: matrix.os == 'Windows'
run: cat "_CPack_Packages/win64/NSIS/NSISOutput.log"
# Delete used cache to emulate a ccache update. See https://github.com/actions/cache/issues/342
- name: "[macOS] Delete remote compiler cache (ccache)"

View File

@@ -33,7 +33,7 @@ cmakeinclude=("cmake/gtest-CMakeLists.txt.in")
scripts="*.sh"
color="--"
verbosity=0
separator="----------"
separator=" ----------"
# Parse options
while [[ $* ]]; do