* Move QApplication out of main to reduce memory impact when running individual tests * Add --valgrind arg and colorize output when command returns non-zero exit code * Fixed: colorama not always available * Test multiple Qt tests * Fixed: Windows Qt test failing due to missing QCoreApplication * Simplify fake args for Qt * Use --ci-env arg * Create Valgrind analysis workflow * Rename vars for fake args * Parse and output valgrind summary * Add build mode to comment * Use GITHUB_OUTPUT to output summary * Merge valgrind comment * Improve comment * Use `tee` instead of `--log-file` to also print stdout * Improve comment about debug and release * Simplify output writing in parse step * Improve step name * Correct comment about summaries * Remove commented out code * Better var name * Missing copyright * Rename global to shared * Remove space * Revert change to ConfigTests.cpp
18 lines
291 B
Docker
18 lines
291 B
Docker
# syntax=docker/dockerfile:1
|
|
|
|
ARG BASE_IMAGE
|
|
FROM $BASE_IMAGE AS base
|
|
|
|
FROM base AS deps
|
|
|
|
RUN apt update && \
|
|
apt dist-upgrade -y && \
|
|
apt install -y git python3 && \
|
|
apt clean
|
|
|
|
WORKDIR /app
|
|
|
|
RUN --mount=type=bind,target=/app,rw \
|
|
./scripts/install_deps.py --ci-env && \
|
|
apt clean
|