Add Node.js to the runner images
Build CI images / build (linux-native) (push) Successful in 11s
Build CI images / build (nixos) (push) Successful in 1m4s
Build CI images / build (vulkan) (push) Successful in 17s
Build CI images / build (windows-clang) (push) Successful in 1m44s
Build CI images / build (windows-gcc) (push) Successful in 24s

This commit is contained in:
SubQ committed 2026-12-06 07:46:44 +03:00
1 parent 0d0a5d575a
commit 8ad0c484aa
6 files changed
+16

No files matched your search

+4
View File
@@ -33,6 +33,10 @@ RUN pacman -S --noconfirm --needed \
zip unzip jq curl ca-certificates \
&& pacman -Scc --noconfirm
RUN pacman -S --noconfirm --needed \
nodejs npm \
&& pacman -Scc --noconfirm
RUN git config --system --add safe.directory '*' \
&& useradd --create-home --shell /bin/bash builder \
&& mkdir -p /var/cache/ccache \
+2
View File
@@ -20,6 +20,8 @@ RUN printf '%s\n' \
>>/etc/nix/nix.conf \
&& git config --global --add safe.directory '*'
RUN nix profile install nixpkgs#nodejs
ENV NIX_CONFIG="experimental-features = nix-command flakes"
WORKDIR /workspace
+4
View File
@@ -42,6 +42,10 @@ RUN pacman -S --noconfirm --needed \
zip unzip jq curl ca-certificates xorg-server-xvfb \
&& pacman -Scc --noconfirm
RUN pacman -S --noconfirm --needed \
nodejs npm \
&& pacman -Scc --noconfirm
RUN git config --system --add safe.directory '*' \
&& useradd --create-home --shell /bin/bash builder \
&& mkdir -p /var/cache/ccache \
+1
View File
@@ -23,6 +23,7 @@ ENV DEBIAN_FRONTEND=noninteractive \
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
cmake ninja-build pkg-config git ca-certificates \
nodejs npm \
zip unzip jq curl \
&& rm -rf /var/lib/apt/lists/*
+4
View File
@@ -48,6 +48,10 @@ RUN pacman -S --noconfirm --needed \
wine xorg-server-xvfb jq curl ca-certificates \
&& pacman -Scc --noconfirm
RUN pacman -S --noconfirm --needed \
nodejs npm \
&& pacman -Scc --noconfirm
# The Vulkan headers are OS-independent; make them visible to the MinGW compiler.
RUN cp -a /usr/include/vulkan /usr/x86_64-w64-mingw32/include/ \
&& git config --system --add safe.directory '*' \