Redot Image - Fix Segfault
Some checks failed
Build Runner Images / base (push) Successful in 8s
Build Runner Images / extended-latest (js) (push) Successful in 7s
Build Runner Images / extended-versioned (java, 17) (push) Successful in 6s
Build Runner Images / base-glib (push) Successful in 25s
Build Runner Images / extended-versioned (lua, 5.3) (push) Successful in 13s
Build Runner Images / extended-versioned (lua, 5.4) (push) Successful in 13s
Build Runner Images / extended-versioned (php, 8.3) (push) Successful in 6s
Build Runner Images / extended-versioned (php, 8.2) (push) Successful in 13s
Build Runner Images / extended-versioned (java, 21) (push) Successful in 39s
Build Runner Images / extended-versioned (java, 8) (push) Successful in 43s
Build Runner Images / extended-latest (go) (push) Successful in 1m0s
Build Runner Images / glib-extended-versioned (redot, 4.3) (push) Failing after 6m47s

This commit is contained in:
Snoweuph 2025-01-30 06:32:32 +01:00
parent a16415f56e
commit 82864f1ef6
Signed by: snoweuph
GPG key ID: BEFC41DA223CEC55
3 changed files with 61 additions and 3 deletions

View file

@ -26,6 +26,24 @@ jobs:
tags: | tags: |
git.euph.dev/actions/runner-basic:latest git.euph.dev/actions/runner-basic:latest
git.euph.dev/actions/runner-basic:${{ github.run_number }} git.euph.dev/actions/runner-basic:${{ github.run_number }}
base-glib:
runs-on: "docker"
steps:
- name: Login to Registry
uses: "https://git.euph.dev/actions/docker-login@v3"
with:
registry: git.euph.dev
username: ${{ secrets.DEPLOY_USER }}
password: ${{ secrets.DEPLOY_SECRET }}
- name: Build and push base image
id: build_base
uses: "https://git.euph.dev/actions/docker-build-push@v5"
with:
context: "{{defaultContext}}:images/actions/act-glib"
push: true
tags: |
git.euph.dev/actions/runner-basic-glib:latest
git.euph.dev/actions/runner-basic-glib:${{ github.run_number }}
extended-latest: extended-latest:
runs-on: "docker" runs-on: "docker"
@ -72,6 +90,31 @@ jobs:
version: 17 version: 17
- language: java - language: java
version: 21 version: 21
steps:
- name: Login to Registry
uses: "https://git.euph.dev/actions/docker-login@v3"
with:
registry: git.euph.dev
username: ${{ secrets.DEPLOY_USER }}
password: ${{ secrets.DEPLOY_SECRET }}
- name: Build and push ${{ matrix.language }} {{ matrix.version }} image
uses: "https://git.euph.dev/actions/docker-build-push@v5"
with:
context: "{{defaultContext}}:images/actions/${{ matrix.language }}"
push: true
build-args: PACKAGE_VERSION=${{ matrix.version }}
tags: |
git.euph.dev/actions/runner-${{ matrix.language }}-${{ matrix.version }}:latest
git.euph.dev/actions/runner-${{ matrix.language }}-${{ matrix.version }}:${{ github.run_number }}
glib-extended-versioned:
runs-on: "docker"
needs:
- base-glib
strategy:
matrix:
include:
- language: redot - language: redot
version: 4.3 version: 4.3
steps: steps:

View file

@ -0,0 +1,16 @@
FROM frolvlad/alpine-glibc
RUN apk add --update --no-cache \
bash sudo ca-certificates openssl openssh-client \
git git-lfs wget curl \
tar zip unzip xz zstd jq \
nodejs npm python3 py3-pip parallel
RUN adduser -D runner \
&& echo "runner ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/runner \
&& chmod 0440 /etc/sudoers.d/runner
RUN chmod -R 777 /opt
WORKDIR /home/runner
CMD ["/bin/bash"]
USER runner

View file

@ -1,8 +1,8 @@
FROM git.euph.dev/actions/runner-basic:latest FROM git.euph.dev/actions/runner-basic-glib:latest
ARG PACKAGE_VERSION ARG PACKAGE_VERSION
# fontconfig and eudev-udev are not needed in ci, and will segfault # fontconfig and eudev-dev are not needed in ci, and will segfault
RUN sudo apk add --no-cache \ RUN sudo apk add --no-cache \
scons \ scons \
pkgconf \ pkgconf \
@ -14,7 +14,6 @@ RUN sudo apk add --no-cache \
libxi-dev \ libxi-dev \
libxrandr-dev \ libxrandr-dev \
mesa-dev \ mesa-dev \
eudev-dev \
alsa-lib-dev \ alsa-lib-dev \
pulseaudio-dev pulseaudio-dev