File tree 28 files changed +57
-431
lines changed
28 files changed +57
-431
lines changed Original file line number Diff line number Diff line change 6
6
- devops/docker/**/Dockerfile
7
7
push :
8
8
branches :
9
- - main
9
+ - dev
10
10
paths :
11
11
- devops/docker/**/Dockerfile
12
12
workflow_dispatch :
Original file line number Diff line number Diff line change @@ -24,5 +24,6 @@ RUN git clone https://github.com/google/googletest --recursive -b v1.12.0
24
24
RUN cd googletest && cmake . && cmake --build . --parallel --target install && rm -rf /git/googletest
25
25
26
26
# rapidjson
27
- RUN git clone https://github.com/Tencent/rapidjson --recursive
28
- RUN cd rapidjson && cmake . && cmake --build . --parallel --target install && rm -rf /git/rapidjson
27
+ RUN git clone --no-checkout https://github.com/Tencent/rapidjson
28
+ RUN cd rapidjson && git checkout 24b5e7a8b27f42fa16b96fc70aade9106cf7102f && git submodule update --init --recursive
29
+ RUN cd rapidjson && cmake . -DRAPIDJSON_BUILD_EXAMPLES=OFF -DRAPIDJSON_BUILD_TESTS=OFF && cmake --build . --parallel --target install && rm -rf /git/rapidjson
Original file line number Diff line number Diff line change @@ -24,5 +24,6 @@ RUN git clone https://github.com/google/googletest --recursive -b v1.12.0
24
24
RUN cd googletest && cmake . && cmake --build . --parallel --target install && rm -rf /git/googletest
25
25
26
26
# rapidjson
27
- RUN git clone https://github.com/Tencent/rapidjson --recursive
28
- RUN cd rapidjson && cmake . && cmake --build . --parallel --target install && rm -rf /git/rapidjson
27
+ RUN git clone --no-checkout https://github.com/Tencent/rapidjson
28
+ RUN cd rapidjson && git checkout 24b5e7a8b27f42fa16b96fc70aade9106cf7102f && git submodule update --init --recursive
29
+ RUN cd rapidjson && cmake . -DRAPIDJSON_BUILD_EXAMPLES=OFF -DRAPIDJSON_BUILD_TESTS=OFF && cmake --build . --parallel --target install && rm -rf /git/rapidjson
Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ RUN tdnf install -y \
10
10
file \
11
11
gcovr \
12
12
git \
13
- gmock-devel \
14
- gtest-devel \
15
13
jq \
16
14
ninja-build \
17
15
openssl-devel \
@@ -22,7 +20,12 @@ RUN tdnf install -y \
22
20
tree \
23
21
unzip \
24
22
util-linux \
23
+ uuid-devel \
25
24
wget \
26
25
zip && \
27
26
tdnf upgrade -y && \
28
- tdnf clean all
27
+ tdnf clean all
28
+
29
+ # GTest
30
+ RUN git clone https://github.com/google/googletest --recursive -b release-1.12.0
31
+ RUN cd googletest && cmake . && cmake --build . --parallel --target install && rm -rf /git/googletest
Original file line number Diff line number Diff line change @@ -23,8 +23,9 @@ RUN git clone https://github.com/Kitware/CMake --recursive -b v3.21.7
23
23
RUN cd CMake && ./bootstrap && make -j$(nproc) && make install && hash -r && rm -rf /git/CMake
24
24
25
25
# rapidjson
26
- RUN git clone https://github.com/Tencent/rapidjson --recursive -b v1.1.0
27
- RUN cd rapidjson && cmake -DRAPIDJSON_BUILD_TESTS=0 . && cmake --build . --parallel --target install && rm -rf /git/rapidjson
26
+ RUN git clone --no-checkout https://github.com/Tencent/rapidjson
27
+ RUN cd rapidjson && git checkout 24b5e7a8b27f42fa16b96fc70aade9106cf7102f && git submodule update --init --recursive
28
+ RUN cd rapidjson && cmake . -DRAPIDJSON_BUILD_EXAMPLES=OFF -DRAPIDJSON_BUILD_TESTS=OFF && cmake --build . --parallel --target install && rm -rf /git/rapidjson
28
29
29
30
# GTest
30
31
RUN git clone https://github.com/google/googletest --recursive -b release-1.10.0
Original file line number Diff line number Diff line change @@ -33,5 +33,6 @@ RUN git clone https://github.com/google/googletest --recursive -b release-1.10.0
33
33
RUN cd googletest && cmake . && cmake --build . --parallel --target install && rm -rf /git/googletest
34
34
35
35
# rapidjson
36
- RUN git clone https://github.com/Tencent/rapidjson --recursive
37
- RUN cd rapidjson && cmake . && cmake --build . --parallel --target install && rm -rf /git/rapidjson
36
+ RUN git clone --no-checkout https://github.com/Tencent/rapidjson
37
+ RUN cd rapidjson && git checkout 24b5e7a8b27f42fa16b96fc70aade9106cf7102f && git submodule update --init --recursive
38
+ RUN cd rapidjson && cmake . -DRAPIDJSON_BUILD_EXAMPLES=OFF -DRAPIDJSON_BUILD_TESTS=OFF && cmake --build . --parallel --target install && rm -rf /git/rapidjson
Original file line number Diff line number Diff line change @@ -28,5 +28,6 @@ RUN git clone https://github.com/google/googletest --recursive -b release-1.10.0
28
28
RUN cd googletest && cmake . -G Ninja && cmake --build . --target install && rm -rf /git/googletest
29
29
30
30
# rapidjson
31
- RUN git clone https://github.com/Tencent/rapidjson --recursive
32
- RUN cd rapidjson && cmake . -G Ninja && cmake --build . --target install && rm -rf /git/rapidjson
31
+ RUN git clone --no-checkout https://github.com/Tencent/rapidjson
32
+ RUN cd rapidjson && git checkout 24b5e7a8b27f42fa16b96fc70aade9106cf7102f && git submodule update --init --recursive
33
+ RUN cd rapidjson && cmake . -DRAPIDJSON_BUILD_EXAMPLES=OFF -DRAPIDJSON_BUILD_TESTS=OFF && cmake --build . --parallel --target install && rm -rf /git/rapidjson
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -29,5 +29,6 @@ RUN git clone https://github.com/google/googletest --recursive -b release-1.10.0
29
29
RUN cd googletest && cmake . -G Ninja && cmake --build . --target install && rm -rf /git/googletest
30
30
31
31
# rapidjson
32
- RUN git clone https://github.com/Tencent/rapidjson --recursive
33
- RUN cd rapidjson && cmake . -G Ninja && cmake --build . --target install && rm -rf /git/rapidjson
32
+ RUN git clone --no-checkout https://github.com/Tencent/rapidjson
33
+ RUN cd rapidjson && git checkout 24b5e7a8b27f42fa16b96fc70aade9106cf7102f && git submodule update --init --recursive
34
+ RUN cd rapidjson && cmake . -DRAPIDJSON_BUILD_EXAMPLES=OFF -DRAPIDJSON_BUILD_TESTS=OFF && cmake --build . --parallel --target install && rm -rf /git/rapidjson
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
FROM debian:stretch
2
2
ARG DEBIAN_FRONTEND=noninteractive
3
+
4
+ # debian-9 is EOL, update sources.list to use snapshot.debian.org mirrors
5
+ RUN cat <<EOF > /etc/apt/sources.list
6
+ deb [check-valid-until=no] http://snapshot.debian.org/archive/debian/20220622T000000Z stretch main
7
+ deb [check-valid-until=no] http://snapshot.debian.org/archive/debian-security/20220622T000000Z stretch/updates main
8
+ deb [check-valid-until=no] http://snapshot.debian.org/archive/debian/20220622T000000Z stretch-updates main
9
+ EOF
10
+
3
11
RUN apt -y update && apt-get -y install software-properties-common
4
12
RUN apt -y update && apt-get -y install \
5
13
git \
@@ -28,5 +36,6 @@ RUN git clone https://github.com/google/googletest --recursive -b release-1.10.0
28
36
RUN cd googletest && cmake . -G Ninja && cmake --build . --target install && rm -rf /git/googletest
29
37
30
38
# rapidjson
31
- RUN git clone https://github.com/Tencent/rapidjson --recursive
32
- RUN cd rapidjson && cmake . -G Ninja && cmake --build . --target install && rm -rf /git/rapidjson
39
+ RUN git clone --no-checkout https://github.com/Tencent/rapidjson
40
+ RUN cd rapidjson && git checkout 24b5e7a8b27f42fa16b96fc70aade9106cf7102f && git submodule update --init --recursive
41
+ RUN cd rapidjson && cmake . -DRAPIDJSON_BUILD_EXAMPLES=OFF -DRAPIDJSON_BUILD_TESTS=OFF && cmake --build . --parallel --target install && rm -rf /git/rapidjson
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -20,8 +20,9 @@ RUN git clone https://github.com/Kitware/CMake --recursive -b v3.21.7
20
20
RUN cd CMake && ./bootstrap && make -j$(nproc) && make install && hash -r && rm -rf /git/CMake
21
21
22
22
# rapidjson
23
- RUN git clone https://github.com/Tencent/rapidjson --recursive -b v1.1.0
24
- RUN cd rapidjson && cmake -DRAPIDJSON_BUILD_TESTS=0 . && cmake --build . --parallel --target install && rm -rf /git/rapidjson
23
+ RUN git clone --no-checkout https://github.com/Tencent/rapidjson
24
+ RUN cd rapidjson && git checkout 24b5e7a8b27f42fa16b96fc70aade9106cf7102f && git submodule update --init --recursive
25
+ RUN cd rapidjson && cmake . -DRAPIDJSON_BUILD_EXAMPLES=OFF -DRAPIDJSON_BUILD_TESTS=OFF && cmake --build . --parallel --target install && rm -rf /git/rapidjson
25
26
26
27
# GTest
27
28
RUN git clone https://github.com/google/googletest --recursive -b release-1.10.0
You can’t perform that action at this time.
0 commit comments