mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-08-28 03:35:45 -05:00
debug nsis
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
15
.github/workflows/desktop-build.yml
vendored
15
.github/workflows/desktop-build.yml
vendored
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user