fixup building imagecompare inside a container
This commit is contained in:
+2
-1
@@ -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
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user