Add build-release.yml: full Linux + Windows release pipeline that dynamically discovers SDKs from hl2sdk-manifests, builds both platforms, creates GitHub Releases with packaged artifacts, uploads PDB artifacts for symbol server ingestion, and handles breakpad symbol upload on Linux. Add build-spcomp.yml + Containerfile: builds and publishes a container image with the SourcePawn compiler for use by the forum on-demand compilation integration. The existing ci.yml (build verification) is left intact.
17 lines
471 B
Docker
17 lines
471 B
Docker
# Build stage - use the same image as sourcemod CI builds
|
|
FROM ghcr.io/alliedmodders/build-containers/debian11:latest AS builder
|
|
|
|
COPY sourcepawn/ /build/sourcepawn/
|
|
|
|
WORKDIR /build/sourcepawn
|
|
RUN mkdir build && cd build && \
|
|
python3 ../configure.py --enable-optimize --targets=x86_64 && \
|
|
ambuild
|
|
|
|
# Runtime stage
|
|
FROM debian:bullseye-slim
|
|
|
|
COPY --from=builder /build/sourcepawn/build/spcomp /usr/local/bin/
|
|
|
|
ENTRYPOINT ["/usr/local/bin/spcomp"]
|