mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-21 09:05:10 -07:00
debug nsis
This commit is contained in:
parent
1118c26a5c
commit
ee1a7815e9
4 changed files with 14 additions and 6 deletions
|
|
@ -326,10 +326,12 @@ if [[ $USE_CCACHE == 1 ]]; then
|
||||||
ccache --show-config
|
ccache --show-config
|
||||||
echo " -----"
|
echo " -----"
|
||||||
ccache --show-stats
|
ccache --show-stats
|
||||||
|
ccache --show-compression
|
||||||
echo " -----"
|
echo " -----"
|
||||||
ccache --zero-stats
|
ccache --zero-stats
|
||||||
echo " -----"
|
echo " -----"
|
||||||
ccache --show-stats
|
ccache --show-stats
|
||||||
|
ccache --show-compression
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,7 @@ echo "Renaming '$package' to '$package_new'"
|
||||||
mv "$package_path" "$package_path_new"
|
mv "$package_path" "$package_path_new"
|
||||||
du -h "$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_path=$package_path_new" >> "$GITHUB_OUTPUT"
|
||||||
echo "package=$package_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:
|
with:
|
||||||
archive: false
|
archive: false
|
||||||
if-no-files-found: error
|
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"
|
- name: "Upload to release"
|
||||||
id: upload_release
|
id: upload_release
|
||||||
|
|
@ -235,10 +235,10 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
package: ${{ steps.build.outputs.package }}
|
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 }}
|
GH_TOKEN: ${{ github.token }}
|
||||||
tag_name: ${{ needs.configure.outputs.tag }}
|
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"
|
- name: "Attest binary provenance"
|
||||||
id: attestation
|
id: attestation
|
||||||
|
|
@ -246,13 +246,13 @@ jobs:
|
||||||
uses: actions/attest@v4
|
uses: actions/attest@v4
|
||||||
with:
|
with:
|
||||||
show-summary: false
|
show-summary: false
|
||||||
subject-path: ${{ steps.build.outputs.package_path }}
|
subject-path: ${{ steps.build.outputs.package_path }} # <-- to check
|
||||||
|
|
||||||
- name: "Verify binary attestation"
|
- name: "Verify binary attestation"
|
||||||
if: steps.attestation.outcome == 'success'
|
if: steps.attestation.outcome == 'success'
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
PACKAGE_PATH: ${{ steps.build.outputs.package_path }}
|
PACKAGE_PATH: ${{ steps.build.outputs.package_path }} # <-- to check
|
||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ github.token }}
|
||||||
run: gh attestation verify "$PACKAGE_PATH" --repo Cockatrice/Cockatrice
|
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_BINARY_SOURCES: 'clear;files,${{ steps.vcpkg-cache.outputs.path }},readwrite'
|
||||||
VCPKG_DISABLE_METRICS: 1
|
VCPKG_DISABLE_METRICS: 1
|
||||||
run: .ci/compile.sh --server --test --vcpkg
|
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
|
# Delete used cache to emulate a ccache update. See https://github.com/actions/cache/issues/342
|
||||||
- name: "[macOS] Delete remote compiler cache (ccache)"
|
- name: "[macOS] Delete remote compiler cache (ccache)"
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ cmakeinclude=("cmake/gtest-CMakeLists.txt.in")
|
||||||
scripts="*.sh"
|
scripts="*.sh"
|
||||||
color="--"
|
color="--"
|
||||||
verbosity=0
|
verbosity=0
|
||||||
separator="----------"
|
separator=" ----------"
|
||||||
|
|
||||||
# Parse options
|
# Parse options
|
||||||
while [[ $* ]]; do
|
while [[ $* ]]; do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue