Skip to content

Commit a3d3906

Browse files
committed
#1: update test script to build and test with docker
1 parent ec2df47 commit a3d3906

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

build-in-docker.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
1+
# This file enables to build and test this sample project using a DARMA/workflows generated docker image
2+
13
WORKSPACE=/workspace
2-
IMAGE=lifflander1/vt:wf-amd64-ubuntu-20.04-gcc-9-cuda-11.2.2-cpp
4+
# IMAGE=lifflander1/vt:wf-amd64-ubuntu-24.04-clang-16-cpp
5+
IMAGE=lifflander1/vt:wf-amd64-ubuntu-20.04-gcc-9-cuda-11.2.2-cpp # error with that one
6+
# IMAGE=lifflander1/vt:wf-amd64-ubuntu-22.04-gcc-12-zoltan-cpp
7+
38

49
CMD='
510
cd '$WORKSPACE'; \
11+
nvcc --version; \
612
ls -l;
713
chmod +x ./build.sh; \
814
\
915
export $(cat .env | egrep -v "(^#.*|^$)" | xargs) && ./build.sh'
1016

17+
# in host: volume for build dir should be /tmp/cache/amd64-ubuntu-22.04-gcc-12-gcc-12-cache/ubuntu-cpp (example from VT)
18+
1119
docker run \
1220
--name test-container \
1321
-w $WORKSPACE \

0 commit comments

Comments
 (0)