File tree Expand file tree Collapse file tree 3 files changed +22
-3
lines changed Expand file tree Collapse file tree 3 files changed +22
-3
lines changed Original file line number Diff line number Diff line change @@ -19,5 +19,5 @@ RUN apt-get update && apt-get install -y build-essential cmake
19
19
RUN git clone --depth 1 https://github.com/google/jsonnet.git jsonnet
20
20
WORKDIR $SRC/
21
21
22
- COPY build.sh $SRC/
22
+ COPY build.sh run_tests.sh $SRC/
23
23
COPY *.cc $SRC/
Original file line number Diff line number Diff line change 18
18
mkdir jsonnet/build
19
19
pushd jsonnet/build
20
20
cmake -DCMAKE_C_COMPILER=" $CC " -DCMAKE_CXX_COMPILER=" $CXX " \
21
- -DCMAKE_C_FLAGS=" $CFLAGS " -DCMAKE_CXX_FLAGS=" $CXXFLAGS " -DBUILD_TESTS=OFF ..
22
- make -j$( nproc) libjsonnet_static
21
+ -DCMAKE_C_FLAGS=" $CFLAGS " -DCMAKE_CXX_FLAGS=" $CXXFLAGS " -DBUILD_TESTS=ON ..
22
+ make -j$( nproc) all
23
23
popd
24
24
25
25
INSTALL_DIR=" $SRC /jsonnet"
Original file line number Diff line number Diff line change
1
+ #! /bin/bash -eu
2
+ # Copyright 2025 Google LLC.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+ # ###############################################################################
17
+
18
+ cd $SRC /jsonnet/build
19
+ make test
You can’t perform that action at this time.
0 commit comments