fixup building imagecompare inside a container

This commit is contained in:
Ivan Avdeev
2026-04-12 15:10:27 -04:00
parent 75fa9cae18
commit 3aeae2e81e
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -44,6 +44,7 @@ git_short() {
render-test() { render-test() {
local OUTPUT="${HLRTEST_REPO_DIR}/render/work" local OUTPUT="${HLRTEST_REPO_DIR}/render/work"
mkdir -p "${OUTPUT}"
local HLRTEST_REVISION=$(git_short "${HLRTEST_REPO_DIR}") local HLRTEST_REVISION=$(git_short "${HLRTEST_REPO_DIR}")
local XASH3D_REVISION=$(git_short "${XASH3D_RT_REPO_DIR}") local XASH3D_REVISION=$(git_short "${XASH3D_RT_REPO_DIR}")
@@ -74,7 +75,7 @@ render-test() {
\ \
-v ${XASH3D_RT_REPO_DIR}:/build/xash3d-fwgs:O \ -v ${XASH3D_RT_REPO_DIR}:/build/xash3d-fwgs:O \
\ \
-v ${HLRTEST_REPO_DIR}:/build/HLRTest:ro \ -v ${HLRTEST_REPO_DIR}:/build/HLRTest:O \
-v ${OUTPUT}:/build/HLRTest/render/work \ -v ${OUTPUT}:/build/HLRTest/render/work \
\ \
ubuntu-xash-builder:latest \ ubuntu-xash-builder:latest \
+1 -1
View File
@@ -1,2 +1,2 @@
imagecompare: imagecompare.c stb_image.h stb_image_write.h Makefile imagecompare: imagecompare.c stb_image.h stb_image_write.h Makefile
${CC} -O3 -ggdb3 -march=native -Wall -Werror -pedantic -lm -o imagecompare imagecompare.c ${CC} -O3 -ggdb3 -march=native -Wall -Werror -pedantic -o imagecompare imagecompare.c -lm