feat: Add CI environment setup and verification workflows with Docker support
Some checks failed
Test / test-frontend (pull_request) Successful in 43s
Test / lint-frontend (pull_request) Successful in 47s
Verify / get-ci-image (pull_request) Successful in 47s
Test / frontend-build (pull_request) Successful in 1m29s
Verify / verify-generated-db-entities (pull_request) Has been cancelled
Test / test-crates (pull_request) Has been cancelled
Test / lint-crates (pull_request) Has been cancelled

This commit is contained in:
GW_MC
2026-04-16 04:47:04 +00:00
parent 50f17fd69b
commit b5e42f2f30
9 changed files with 324 additions and 11 deletions

31
.github/docker/ci.Dockerfile vendored Normal file
View File

@@ -0,0 +1,31 @@
FROM node:24-bookworm-slim
# Install necessary dependencies for building Rust projects and running tests
RUN apt-get update && apt-get install -y \
curl \
git \
zstd \
build-essential \
pkg-config \
libssl-dev \
gnupg \
unzip \
tar \
&& rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y \
postgresql-client \
protobuf-compiler \
&& rm -rf /var/lib/apt/lists/*
# install bun
RUN curl -fsSL https://bun.sh/install | bash
ENV PATH="/root/.bun/bin:${PATH}"
# install rust and cargo
RUN apt-get update && apt-get install -y curl build-essential
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
# Set the working directory
WORKDIR /app