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

+1
View File
@@ -19,6 +19,7 @@ The C++ toolchain the Void research projects (Engine, Build-System, Library)
use is already installed in `linux-native` and `vulkan`: use is already installed in `linux-native` and `vulkan`:
- GCC 16 (C++26 with `-freflection`), CMake 4, Ninja, `pkg-config`, ccache - GCC 16 (C++26 with `-freflection`), CMake 4, Ninja, `pkg-config`, ccache
- Node.js and npm (for the TypeScript/web projects)
- Boost, OpenSSL, SQLite, libsodium, libarchive, FreeType, GLFW, GoogleTest - Boost, OpenSSL, SQLite, libsodium, libarchive, FreeType, GLFW, GoogleTest
- Vulkan headers, loader, validation layers, tools, glslang, shaderc, Slang - Vulkan headers, loader, validation layers, tools, glslang, shaderc, Slang
- Mesa with RADV (AMD hardware) and lavapipe (software Vulkan) - Mesa with RADV (AMD hardware) and lavapipe (software Vulkan)
+4
View File
@@ -33,6 +33,10 @@ RUN pacman -S --noconfirm --needed \
zip unzip jq curl ca-certificates \ zip unzip jq curl ca-certificates \
&& pacman -Scc --noconfirm && pacman -Scc --noconfirm
RUN pacman -S --noconfirm --needed \
nodejs npm \
&& pacman -Scc --noconfirm
RUN git config --system --add safe.directory '*' \ RUN git config --system --add safe.directory '*' \
&& useradd --create-home --shell /bin/bash builder \ && useradd --create-home --shell /bin/bash builder \
&& mkdir -p /var/cache/ccache \ && mkdir -p /var/cache/ccache \
+2
View File
@@ -20,6 +20,8 @@ RUN printf '%s\n' \
>>/etc/nix/nix.conf \ >>/etc/nix/nix.conf \
&& git config --global --add safe.directory '*' && git config --global --add safe.directory '*'
RUN nix profile install nixpkgs#nodejs
ENV NIX_CONFIG="experimental-features = nix-command flakes" ENV NIX_CONFIG="experimental-features = nix-command flakes"
WORKDIR /workspace WORKDIR /workspace
+4
View File
@@ -42,6 +42,10 @@ RUN pacman -S --noconfirm --needed \
zip unzip jq curl ca-certificates xorg-server-xvfb \ zip unzip jq curl ca-certificates xorg-server-xvfb \
&& pacman -Scc --noconfirm && pacman -Scc --noconfirm
RUN pacman -S --noconfirm --needed \
nodejs npm \
&& pacman -Scc --noconfirm
RUN git config --system --add safe.directory '*' \ RUN git config --system --add safe.directory '*' \
&& useradd --create-home --shell /bin/bash builder \ && useradd --create-home --shell /bin/bash builder \
&& mkdir -p /var/cache/ccache \ && mkdir -p /var/cache/ccache \
+1
View File
@@ -23,6 +23,7 @@ ENV DEBIAN_FRONTEND=noninteractive \
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \
cmake ninja-build pkg-config git ca-certificates \ cmake ninja-build pkg-config git ca-certificates \
nodejs npm \
zip unzip jq curl \ zip unzip jq curl \
&& rm -rf /var/lib/apt/lists/* && 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 \ wine xorg-server-xvfb jq curl ca-certificates \
&& pacman -Scc --noconfirm && 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. # 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/ \ RUN cp -a /usr/include/vulkan /usr/x86_64-w64-mingw32/include/ \
&& git config --system --add safe.directory '*' \ && git config --system --add safe.directory '*' \