-m
All checks were successful
Build Runner Images / base (push) Successful in 15s
Build Runner Images / extended-latest (js) (push) Successful in 21s
Build Runner Images / extended-latest (just) (push) Successful in 22s
Build Runner Images / extended-latest (protobuf) (push) Successful in 24s
Build Runner Images / extended-latest (oas) (push) Successful in 1m13s
Build Runner Images / extended-versioned (java, 21) (push) Successful in 1m2s
Build Runner Images / extended-versioned (java, 17) (push) Successful in 1m25s
Build Runner Images / extended-versioned (lua, 5.3) (push) Successful in 30s
Build Runner Images / extended-versioned (lua, 5.4) (push) Successful in 29s
Build Runner Images / extended-versioned (java, 8) (push) Successful in 1m3s
Build Runner Images / extended-versioned (php, 8.2) (push) Successful in 23s
Build Runner Images / extended-versioned (php, 8.3) (push) Successful in 23s
Build Runner Images / extended-latest (go) (push) Successful in 2m52s

This commit is contained in:
Jan K9f 2025-04-26 21:46:21 +02:00
commit d990c79dcf
Signed by: jank
GPG key ID: B9F475106B20F144
10 changed files with 136 additions and 8 deletions

View file

@ -0,0 +1,8 @@
FROM git.kjan.de/actions/runner-basic:latest
RUN sudo apk add --no-cache "go"
RUN go install honnef.co/go/tools/cmd/staticcheck@latest
RUN go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest
#RUN go install github.com/miekg/gotmplfmt@latest
ENV PATH="$PATH:/home/runner/go/bin"

View file

@ -0,0 +1,4 @@
FROM git.kjan.de/actions/runner-basic:latest
ARG PACKAGE_VERSION
RUN sudo apk add --no-cache "openjdk$PACKAGE_VERSION" maven gradle libxml2-utils

View file

@ -0,0 +1,3 @@
FROM git.kjan.de/actions/runner-basic:latest
RUN sudo apk add --no-cache "npm"

View file

@ -0,0 +1,3 @@
FROM git.kjan.de/actions/runner-basic:latest
RUN sudo apk add --no-cache just

View file

@ -0,0 +1,13 @@
FROM git.kjan.de/actions/runner-basic:latest
ARG PACKAGE_VERSION
RUN release_info=$(curl -s https://api.github.com/repos/LuaLS/lua-language-server/releases/latest) \
&& download_url=$(echo "$release_info" | jq -r '.assets[] | select(.name | endswith("linux-x64-musl.tar.gz")) | .browser_download_url') \
&& curl -LO "$download_url" \
&& tar_file=$(basename "$download_url") \
&& mkdir /opt/lua-language-server \
&& tar -xf "$tar_file" -C /opt/lua-language-server \
&& rm -rf "$tar_file"
ENV PATH="/opt/lua-language-server/bin:${PATH}"
RUN sudo apk add --no-cache "lua$PACKAGE_VERSION" "luarocks$PACKAGE_VERSION" stylua luacheck

View file

@ -0,0 +1,4 @@
FROM git.kjan.de/actions/runner-js:latest
RUN sudo apk add --no-cache py3-openapi-spec-validator
RUN sudo npm install -g swagger-cli @redocly/cli@latest

View file

@ -0,0 +1,16 @@
FROM git.kjan.de/actions/runner-basic:latest
ARG PACKAGE_VERSION
RUN \
version=$(echo $PACKAGE_VERSION | tr -d .) \
&& curl -1sLf 'https://dl.cloudsmith.io/public/symfony/stable/setup.alpine.sh' | sudo -E bash \
&& sudo apk add --no-cache \
composer \
"php${version}" \
"php${version}-xml" \
"php${version}-simplexml" \
"php${version}-tokenizer" \
"php${version}-xmlwriter" \
"php${version}-dom" \
"php${version}-ctype" \
symfony-cli

View file

@ -0,0 +1,3 @@
FROM git.kjan.de/actions/runner-basic:latest
RUN sudo apk add --no-cache protobuf

View file

@ -0,0 +1,74 @@
FROM alpine:latest AS build-stage
ARG PACKAGE_VERSION
RUN apk add --no-cache curl
RUN wget $( \
curl -s https://api.github.com/repos/Redot-Engine/redot-engine/releases/tags/redot-$PACKAGE_VERSION-stable \
| grep "browser_download_url.*Redot_v.*-stable_export_templates\.tpz" \
| cut -d '"' -f 4 - \
| head -n 1 \
) -O Redot_Export_Templates.tbz
RUN unzip Redot_Export_Templates.tbz
RUN rm -f templates/*debug*
RUN rm Redot_Export_Templates.tbz
FROM git.euph.dev/actions/runner-basic-glib:latest AS final-stage
ARG PACKAGE_VERSION
# fontconfig and eudev-dev are not needed in ci, and will segfault
RUN sudo apk add --no-cache \
scons \
pkgconf \
gcc \
g++ \
libx11-dev \
libxcursor-dev \
libxinerama-dev \
libxi-dev \
libxrandr-dev \
mesa-dev \
alsa-lib-dev \
pulseaudio-dev \
pipx
RUN pipx install "gdtoolkit==$PACKAGE_VERSION.*"
ENV PATH="$PATH:/home/runner/.local/bin"
RUN wget $( \
curl -s https://api.github.com/repos/Redot-Engine/redot-engine/releases/tags/redot-$PACKAGE_VERSION-stable \
| grep "browser_download_url.*Redot_v.*-stable_linux\.x86_64\.zip" \
| cut -d '"' -f 4 - \
| head -n 1 \
) -O Redot.zip \
&& sudo unzip Redot.zip \
&& sudo mv ./Redot_v*-stable_linux.x86_64 /usr/local/bin/redot \
&& rm Redot.zip
RUN mkdir -p /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable
COPY --from=build-stage /templates/android_release.apk /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
COPY --from=build-stage /templates/android_source.zip /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
COPY --from=build-stage /templates/ios.zip /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
COPY --from=build-stage /templates/linux_release.arm32 /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
COPY --from=build-stage /templates/linux_release.arm64 /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
COPY --from=build-stage /templates/linux_release.x86_32 /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
COPY --from=build-stage /templates/linux_release.x86_64 /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
COPY --from=build-stage /templates/macos.zip /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
COPY --from=build-stage /templates/version.txt /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
COPY --from=build-stage /templates/web_dlink_nothreads_release.zip /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
COPY --from=build-stage /templates/web_dlink_release.zip /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
COPY --from=build-stage /templates/web_nothreads_release.zip /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
COPY --from=build-stage /templates/web_release.zip /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
COPY --from=build-stage /templates/windows_release_arm64_console.exe /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
COPY --from=build-stage /templates/windows_release_arm64.exe /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
COPY --from=build-stage /templates/windows_release_x86_32_console.exe /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
COPY --from=build-stage /templates/windows_release_x86_32.exe /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
COPY --from=build-stage /templates/windows_release_x86_64_console.exe /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/
COPY --from=build-stage /templates/windows_release_x86_64.exe /home/runner/.local/share/redot/export_templates/$PACKAGE_VERSION.stable/