test: Update 3 files
All checks were successful
dropshell-build multiarch / build (linux/amd64) (push) Successful in 19s
dropshell-build multiarch / build (linux/arm64) (push) Successful in 27s
dropshell-build multiarch / create-manifest (push) Successful in 13s

This commit is contained in:
Your Name
2025-06-22 18:36:53 +12:00
parent 3af2f6c537
commit 1bfcb35005
4 changed files with 63 additions and 4 deletions

View File

@ -53,6 +53,12 @@ RUN --mount=type=cache,target=/build \
find /build -type f -executable -name "*${PROJECT}*" -exec cp {} /output/${PROJECT} \; || \
find /build -type f -executable -exec cp {} /output/${PROJECT} \;
# if we're a release build, then run upx on the binary.
RUN if [ "${CMAKE_BUILD_TYPE}" = "Release" ]; then \
upx /output/${PROJECT}; \
fi
# Final stage that only contains the binary
FROM scratch AS project