You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

24 lines
1.0 KiB

FROM ghcr.io/alliedmodders/build-containers/debian11-clang22:latest
#master or 1.12-dev to choice server api v8 or v9
RUN git config --global --add safe.directory '*'
RUN git clone --depth 1 --recurse-submodules -j8 --shallow-submodules -b 1.12-dev https://github.com/alliedmodders/metamod-source.git mmsource
RUN git clone --depth 1 --recurse-submodules -j8 --shallow-submodules -b master https://github.com/alliedmodders/sourcemod.git sourcemod
RUN python3 -m pip install --upgrade git+https://github.com/alliedmodders/ambuild.git
#RUN git clone https://github.com/alliedmodders/ambuild ambuild
RUN /sourcemod/tools/checkout-deps.sh
ENV CC clang-22
ENV CXX clang++-22
#mkdir build && cd build
# python3 ../configure.py \
# --sm-path ../sourcemod \
# --mms-path ../mmsource \
# --steamworks-path ../SteamworksSDK \
# --target ${{ matrix.target.arch }} \
# --version "${{ needs.version.outputs.version }}" \
# --enable-optimize
# ambuild
ENTRYPOINT ["tail", "-f", "/dev/null"]