test: Add 8 and update 14 files
Some checks failed
Build-Test-Publish / build (linux/amd64) (push) Failing after 22s
Build-Test-Publish / build (linux/arm64) (push) Failing after 32s
Build-Test-Publish / create-manifest (push) Has been skipped

This commit is contained in:
Your Name
2025-08-10 21:18:40 +12:00
parent 1fed086348
commit 8ab6028597
22 changed files with 1392 additions and 81 deletions

View File

@@ -57,17 +57,19 @@ RUN --mount=type=cache,target=/ccache \
--mount=type=cache,target=/build \
cmake --build /build
# Copy the built executable to a regular directory for the final stage
# Copy the built executables to a regular directory for the final stage
RUN --mount=type=cache,target=/build \
mkdir -p /output && \
find /build -type f -executable -name "*${PROJECT}*" -exec cp {} /output/${PROJECT} \; || \
find /build -type f -executable -exec cp {} /output/${PROJECT} \;
find /build -type f -executable -exec cp {} /output/${PROJECT} \; && \
if [ -f /build/hash_token ]; then cp /build/hash_token /output/hash_token; fi
# Final stage that only contains the binary
# Final stage that only contains the binaries
FROM scratch AS project
ARG PROJECT
# Copy the actual binary from the regular directory
# Copy the actual binaries from the regular directory
COPY --from=builder /output/${PROJECT} /${PROJECT}
COPY --from=builder /output/hash_token /hash_token