File tree Expand file tree Collapse file tree 4 files changed +32
-1
lines changed Expand file tree Collapse file tree 4 files changed +32
-1
lines changed Original file line number Diff line number Diff line change 1+ WORKSPACE=/workspace
2+ IMAGE=lifflander1/vt:wf-amd64-ubuntu-20.04-gcc-9-cuda-11.2.2-cpp
3+
4+ CMD='
5+ cd ' $WORKSPACE ' ; \
6+ ls -l;
7+ chmod +x ./build.sh; \
8+ \
9+ export $(cat .env | egrep -v "(^#.*|^$)" | xargs) && ./build.sh'
10+
11+ docker run \
12+ --name test-container \
13+ -w $WORKSPACE \
14+ -v .:/workspace \
15+ -v /opt/foo/build:/opt/foo/build \
16+ -v /opt/foo/output:/opt/foo/output \
17+ -e CI=" 1" \
18+ -e https_proxy=" " \
19+ -e http_proxy=" " \
20+ $IMAGE \
21+ bash -c " $CMD "
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ if(NOT DEFINED FOO_WARNING_FLAGS)
3030 endif ()
3131
3232 if (FOO_WERROR_ENABLED) # Treat warning as errors
33- # add_cxx_compiler_flag_if_supported("-Werror")
33+ add_cxx_compiler_flag_if_supported("-Werror" )
3434 endif ()
3535endif ()
3636
Original file line number Diff line number Diff line change 1+ #include < gtest/gtest.h>
2+
3+ #include " foo/bar/bar.h"
4+
5+ // Demonstrate some basic assertions.
6+ TEST (BarTest, BasicAssertions) {
7+ auto bar = foo::bar::Bar ();
8+ auto n = bar.diff (5 , 3 );
9+ EXPECT_EQ (n, 2 );
10+ }
File renamed without changes.
You can’t perform that action at this time.
0 commit comments